Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
193
def
file_has_stuff(path):
194
return
os.path.isfile(path) and os.path.getsize(path) > 0
195
196
197
def
has_stuff(path, warn_existing=False, overwrite=False):
Callers
1
has_stuff
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected