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

Method read

mypy/build.py:5367–5372  ·  view source on GitHub ↗
(cls, buf: ReadBuffer)

Source from the content-addressed store, hash-verified

5365
5366 @classmethod
5367 def read(cls, buf: ReadBuffer) -> SccsDataMessage:
5368 sccs = [
5369 SCC(set(read_str_list(buf)), read_int(buf), read_int_list(buf))
5370 for _ in range(read_int_bare(buf))
5371 ]
5372 return SccsDataMessage(sccs=sccs)
5373
5374 def write(self, buf: WriteBuffer) -> None:
5375 write_tag(buf, SCCS_DATA_MESSAGE)

Callers

nothing calls this directly

Calls 7

read_str_listFunction · 0.90
read_intFunction · 0.90
read_int_listFunction · 0.90
SCCClass · 0.85
setClass · 0.85
rangeClass · 0.85
SccsDataMessageClass · 0.85

Tested by

no test coverage detected