MCPcopy
hub / github.com/dmlc/dgl / is_local_path

Function is_local_path

python/dgl/data/graph_serialize.py:30–35  ·  view source on GitHub ↗
(filepath)

Source from the content-addressed store, hash-verified

28
29
30def is_local_path(filepath):
31 return not (
32 filepath.startswith("hdfs://")
33 or filepath.startswith("viewfs://")
34 or filepath.startswith("s3://")
35 )
36
37
38def check_local_file_exists(filename):

Callers 2

check_local_file_existsFunction · 0.85
save_graphsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected