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

Method contains

src/utils/file_state_cache.py:78–80  ·  view source on GitHub ↗
(self, path: str)

Source from the content-addressed store, hash-verified

76 return self._max_entries
77
78 def contains(self, path: str) -> bool:
79 abs_path = os.path.abspath(path)
80 return abs_path in self._cache
81
82 async def _read_file(self, abs_path: str) -> str | None:
83 try:

Callers 3

test_invalidateMethod · 0.80
test_containsMethod · 0.80

Calls

no outgoing calls

Tested by 3

test_invalidateMethod · 0.64
test_containsMethod · 0.64