MCPcopy
hub / github.com/ray-project/ray / file_exists

Function file_exists

python/ray/_common/tests/test_usage_stats.py:81–85  ·  view source on GitHub ↗
(temp_dir: Path)

Source from the content-addressed store, hash-verified

79
80
81def file_exists(temp_dir: Path):
82 for path in temp_dir.iterdir():
83 if usage_constants.USAGE_STATS_FILE in str(path):
84 return True
85 return False
86
87
88def read_file(temp_dir: Path, column: str):

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…