MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / read

Function read

scripts/benchmarks/observe-index.py:15–19  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

13
14
15def read(path):
16 try:
17 return Path(path).read_text()
18 except (FileNotFoundError, PermissionError, ProcessLookupError):
19 return None
20
21
22def sample(pid):

Callers 1

sampleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected