MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / getinfo

Method getinfo

tools/python-3.11.9-amd64/Lib/zipfile.py:1488–1495  ·  view source on GitHub ↗

Return the instance of ZipInfo given 'name'.

(self, name)

Source from the content-addressed store, hash-verified

1486 return zinfo.filename
1487
1488 def getinfo(self, name):
1489 """Return the instance of ZipInfo given 'name'."""
1490 info = self.NameToInfo.get(name)
1491 if info is None:
1492 raise KeyError(
1493 'There is no item named %r in the archive' % name)
1494
1495 return info
1496
1497 def setpassword(self, pwd):
1498 """Set default password for encrypted files."""

Callers 7

openMethod · 0.95
_extract_memberMethod · 0.95
getinfoMethod · 0.45
buildMethod · 0.45
buildMethod · 0.45
_get_extensionsMethod · 0.45
_getinfoMethod · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected