Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Meshcapade/difflocks
/ dir_empty
Function
dir_empty
data_loader/dataloader.py:21–22 ·
view source on GitHub ↗
(dir_path)
Source
from the content-addressed store, hash-verified
19
DEFAULT_BODY_DATA_DIR = os.path.join(SCRIPT_DIR,
"difflocks_bodydata"
)
20
21
def
dir_empty(dir_path):
22
return
not any((True
for
_ in os.scandir(dir_path)))
23
24
25
class
StrandsData(dict):
Callers
2
can_load_chunked_paths
Method · 0.85
__init__
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected