MCPcopy Index your code
hub / github.com/python/mypy / hash_digest

Method hash_digest

mypy/fscache.py:292–295  ·  view source on GitHub ↗
(self, path: str)

Source from the content-addressed store, hash-verified

290 return data
291
292 def hash_digest(self, path: str) -> str:
293 if path not in self.hash_cache:
294 self.read(path)
295 return self.hash_cache[path]
296
297 def samefile(self, f1: str, f2: str) -> bool:
298 s1 = self.stat_or_none(f1)

Callers 4

validate_metaFunction · 0.80
get_sourceMethod · 0.80
_updateMethod · 0.80
_find_changedMethod · 0.80

Calls 1

readMethod · 0.95

Tested by

no test coverage detected