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

Method read

mypy/metastore.py:228–231  ·  view source on GitHub ↗
(self, name: str)

Source from the content-addressed store, hash-verified

226 return mtime
227
228 def read(self, name: str) -> bytes:
229 data = self._query(name, "data")
230 assert isinstance(data, bytes)
231 return data
232
233 def write(self, name: str, data: bytes, mtime: float | None = None) -> bool:
234 import sqlite3

Callers 2

read_allMethod · 0.95
mainFunction · 0.95

Calls 2

_queryMethod · 0.95
isinstanceFunction · 0.85

Tested by 1

read_allMethod · 0.76