MCPcopy 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
94def 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
99def get_mtime(dirpath, fname):

Callers 1

list_files_by_mtimeFunction · 0.85

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected