MCPcopy
hub / github.com/LawRefBook/Laws / is_exists

Method is_exists

scripts/request.py:113–115  ·  view source on GitHub ↗
(self, key: str, type: CacheType, filetype=None)

Source from the content-addressed store, hash-verified

111 return p / key
112
113 def is_exists(self, key: str, type: CacheType, filetype=None):
114 full_path = self.path(key, type, filetype)
115 return full_path.exists(), full_path
116
117 def get(self, key: str, type: CacheType, filetype=None):
118 full_path = self.path(key, type, filetype)

Callers 1

get_wordMethod · 0.80

Calls 1

pathMethod · 0.95

Tested by

no test coverage detected