MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / _sync_read

Method _sync_read

src/utils/file_state_cache.py:90–92  ·  view source on GitHub ↗
(path: str)

Source from the content-addressed store, hash-verified

88
89 @staticmethod
90 def _sync_read(path: str) -> str:
91 with open(path, "r", encoding="utf-8", errors="replace") as f:
92 return f.read()
93
94 def get_sync(self, path: str) -> str | None:
95 abs_path = os.path.abspath(path)

Callers

nothing calls this directly

Calls 1

readMethod · 0.45

Tested by

no test coverage detected