MCPcopy
hub / github.com/SFTtech/openage / read

Method read

openage/codegen/codegen.py:50–54  ·  view source on GitHub ↗
(self, size: int = -1)

Source from the content-addressed store, hash-verified

48 self.eof = True
49
50 def read(self, size: int = -1) -> bytes:
51 if not self.eof:
52 raise UnsupportedOperation(
53 "can not read from WriteCatcher while not closed for writing")
54 return super().read(size)
55
56
57class CodegenDirWrapper(Wrapper):

Callers 4

generate_coord_basetypesFunction · 0.45
get_writesMethod · 0.45
codegenFunction · 0.45
generate_testlistFunction · 0.45

Calls

no outgoing calls

Tested by 1

generate_testlistFunction · 0.36