MCPcopy Index your code
hub / github.com/astral-sh/python-build-standalone / update

Method update

src/github_api_tester.py:127–130  ·  view source on GitHub ↗
(self, chunk: bytes)

Source from the content-addressed store, hash-verified

125 self.contents = None
126
127 def update(self, chunk: bytes) -> None:
128 self.hasher.update(chunk)
129 if self.contents is not None:
130 self.contents += chunk
131
132 def to_asset(self) -> Asset:
133 return Asset(self.name, self.label, self.hasher.hexdigest(), self.contents)

Callers 11

upload_assetFunction · 0.95
build_cpythonFunction · 0.80
upload_fileFunction · 0.80
run_dist_pythonFunction · 0.80
hash_pathFunction · 0.80
secure_download_streamFunction · 0.80
mainFunction · 0.80
build_cpythonFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected