MCPcopy
hub / github.com/dataelement/Clawith / exists

Method exists

backend/tests/test_files_api_storage.py:15–16  ·  view source on GitHub ↗
(self, key: str)

Source from the content-addressed store, hash-verified

13 self.objects = dict(objects or {})
14
15 async def exists(self, key: str) -> bool:
16 return key in self.objects
17
18 async def is_file(self, key: str) -> bool:
19 return key in self.objects

Calls

no outgoing calls

Tested by

no test coverage detected