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

Function file_has_stuff

utils.py:193–194  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

191
192
193def file_has_stuff(path):
194 return os.path.isfile(path) and os.path.getsize(path) > 0
195
196
197def has_stuff(path, warn_existing=False, overwrite=False):

Callers 1

has_stuffFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected