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

Method _implied_dirs

tools/python-3.11.9-amd64/Lib/zipfile.py:2253–2256  ·  view source on GitHub ↗
(names)

Source from the content-addressed store, hash-verified

2251
2252 @staticmethod
2253 def _implied_dirs(names):
2254 parents = itertools.chain.from_iterable(map(_parents, names))
2255 as_dirs = (p + posixpath.sep for p in parents)
2256 return _dedupe(_difference(as_dirs, names))
2257
2258 def namelist(self):
2259 names = super(CompleteDirs, self).namelist()

Callers 1

namelistMethod · 0.95

Calls 2

_differenceFunction · 0.70
mapFunction · 0.50

Tested by

no test coverage detected