MCPcopy 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

19DEFAULT_BODY_DATA_DIR = os.path.join(SCRIPT_DIR,"difflocks_bodydata")
20
21def dir_empty(dir_path):
22 return not any((True for _ in os.scandir(dir_path)))
23
24
25class StrandsData(dict):

Callers 2

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected