MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / _write_zip

Function _write_zip

tests/test_office_limits.py:12–14  ·  view source on GitHub ↗
(path, name, payload)

Source from the content-addressed store, hash-verified

10
11
12def _write_zip(path, name, payload):
13 with zipfile.ZipFile(path, "w", zipfile.ZIP_DEFLATED) as zf:
14 zf.writestr(name, payload)
15
16
17def test_file_within_size_cap(tmp_path):

Calls

no outgoing calls

Tested by

no test coverage detected