MCPcopy Create free account
hub / github.com/CodeGraphContext/CodeGraphContext / ensure_exists

Function ensure_exists

scripts/compare_backend_snapshots.py:231–233  ·  view source on GitHub ↗
(path: Path)

Source from the content-addressed store, hash-verified

229
230
231def ensure_exists(path: Path) -> None:
232 if not path.exists():
233 raise FileNotFoundError(f"Missing file: {path}")
234
235
236def print_list(label: str, items: List[Any], max_items: int) -> None:

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected