MCPcopy
hub / github.com/HelloZeroNet/ZeroNet / read

Method read

src/util/helper.py:260–261  ·  view source on GitHub ↗
(self, size=-1)

Source from the content-addressed store, hash-verified

258
259 class LimitedGzipFile(gzip.GzipFile):
260 def read(self, size=-1):
261 return super(LimitedGzipFile, self).read(1024 * 1024 * 25)
262 return LimitedGzipFile(*args, **kwargs)
263
264

Callers 15

updateFunction · 0.45
parseConfigMethod · 0.45
saveValueMethod · 0.45
peerGetFileMethod · 0.45
actionFileGetMethod · 0.45
renderMethod · 0.45
actionSiteAddMethod · 0.45
actionSiteAddPromptMethod · 0.45
actionFileMethod · 0.45
sha512sumFunction · 0.45
sha256sumFunction · 0.45
createSslRsaCertMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected