MCPcopy
hub / github.com/mitmproxy/mitmproxy / add

Method add

release/build.py:65–66  ·  view source on GitHub ↗
(self, name: str, arcname: str)

Source from the content-addressed store, hash-verified

63class ZipFile2(zipfile.ZipFile):
64 # ZipFile and tarfile have slightly different APIs. Let's fix that.
65 def add(self, name: str, arcname: str) -> None:
66 return self.write(name, arcname)
67
68 def __enter__(self) -> ZipFile2:
69 return self

Callers 15

standalone_binariesFunction · 0.45
macos_appFunction · 0.45
print_refsFunction · 0.45
test_commandFunction · 0.45
test_mixed_async_syncFunction · 0.45
test_simpleFunction · 0.45
test_old_apiFunction · 0.45
test_parse_partialMethod · 0.45
test_parseargFunction · 0.45
test_decoratorFunction · 0.45
test_cmdFunction · 0.45
test_flowFunction · 0.45

Calls 1

writeMethod · 0.45

Tested by 15

test_commandFunction · 0.36
test_mixed_async_syncFunction · 0.36
test_simpleFunction · 0.36
test_old_apiFunction · 0.36
test_parse_partialMethod · 0.36
test_parseargFunction · 0.36
test_decoratorFunction · 0.36
test_cmdFunction · 0.36
test_flowFunction · 0.36
test_flowsFunction · 0.36
test_choiceFunction · 0.36