MCPcopy Create free account
hub / github.com/deepdrive/deepdrive / dir_has_stuff

Function dir_has_stuff

utils.py:189–190  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

187
188
189def dir_has_stuff(path):
190 return os.path.isdir(path) and os.listdir(path)
191
192
193def file_has_stuff(path):

Callers 1

has_stuffFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected