Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ is_real_file
Function
is_real_file
tensorflow/tools/test/upload_test_benchmarks.py:94–96 ·
view source on GitHub ↗
(dirpath, fname)
Source
from the content-addressed store, hash-verified
92
93
94
def
is_real_file(dirpath, fname):
95
fpath = os.path.join(dirpath, fname)
96
return
os.path.isfile(fpath) and not os.path.islink(fpath)
97
98
99
def
get_mtime(dirpath, fname):
Callers
1
list_files_by_mtime
Function · 0.85
Calls
1
join
Method · 0.45
Tested by
no test coverage detected