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

Method namelist

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

Return a list of file names in the archive.

(self)

Source from the content-addressed store, hash-verified

1455 end_offset = zinfo.header_offset
1456
1457 def namelist(self):
1458 """Return a list of file names in the archive."""
1459 return [data.filename for data in self.filelist]
1460
1461 def infolist(self):
1462 """Return a list of class ZipInfo instances for files in the

Callers 10

extractallMethod · 0.95
test_prune_file_listMethod · 0.95
test_add_defaultsMethod · 0.95
test_simple_builtMethod · 0.95
extract_zipped_pathsFunction · 0.95
unarchiveFunction · 0.95
unzip_fileFunction · 0.95
namelistMethod · 0.45
namelistMethod · 0.45
iterdirMethod · 0.45

Calls

no outgoing calls

Tested by 3

test_prune_file_listMethod · 0.76
test_add_defaultsMethod · 0.76
test_simple_builtMethod · 0.76