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

Method write

mypy/build.py:5374–5380  ·  view source on GitHub ↗
(self, buf: WriteBuffer)

Source from the content-addressed store, hash-verified

5372 return SccsDataMessage(sccs=sccs)
5373
5374 def write(self, buf: WriteBuffer) -> None:
5375 write_tag(buf, SCCS_DATA_MESSAGE)
5376 write_int_bare(buf, len(self.sccs))
5377 for scc in self.sccs:
5378 write_str_list(buf, sorted(scc.mod_ids))
5379 write_int(buf, scc.id)
5380 write_int_list(buf, sorted(scc.deps))
5381
5382
5383class GraphMessage(IPCMessage):

Callers 1

process_graphFunction · 0.95

Calls 5

write_str_listFunction · 0.90
write_intFunction · 0.90
write_int_listFunction · 0.90
lenFunction · 0.85
sortedFunction · 0.85

Tested by

no test coverage detected