MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / writestr

Method writestr

Lib/zipfile.py:1196–1241  ·  view source on GitHub ↗

Write a file into the archive. The contents is the string 'bytes'. 'zinfo_or_arcname' is either a ZipInfo instance or the name of the file in the archive.

(self, zinfo_or_arcname, bytes, compress_type=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

addPythonModulesMethod · 0.95

Calls 10

_writecheckMethod · 0.95
FileHeaderMethod · 0.95
ZipInfoClass · 0.85
crc32Function · 0.85
LargeZipFileClass · 0.85
tellMethod · 0.45
flushMethod · 0.45
writeMethod · 0.45
packMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected