MCPcopy Index your code
hub / github.com/python/cpython / _implied_dirs

Method _implied_dirs

Lib/zipfile/_path/__init__.py:113–116  ·  view source on GitHub ↗
(names)

Source from the content-addressed store, hash-verified

111
112 @staticmethod
113 def _implied_dirs(names):
114 parents = itertools.chain.from_iterable(map(_parents, names))
115 as_dirs = (p + posixpath.sep for p in parents)
116 return _dedupe(_difference(as_dirs, names))
117
118 def namelist(self):
119 names = super().namelist()

Callers 2

namelistMethod · 0.95
injectMethod · 0.80

Calls 1

_differenceFunction · 0.85

Tested by

no test coverage detected