| .flake8 |
|
246 |
| .github |
|
|
| .pre-commit-config.yaml |
|
82 |
| .readthedocs.yml |
|
74 |
| .travis.yml |
|
472 |
| appveyor.yml |
|
468 |
| CHANGES.rst |
|
2005 |
| conftest.py |
|
0 |
| docs |
|
|
| LICENSE |
|
1050 |
| mypy.ini |
|
37 |
| PKG-INFO |
|
1579 |
| pyproject.toml |
|
167 |
| pytest.ini |
|
333 |
| README.rst |
.. image:: https://img.shields.io/pypi/v/zipp.svg |
830 |
| setup.cfg |
|
900 |
| setup.py |
|
112 |
| skeleton.md |
|
8150 |
| test_zipp.py |
Given a writable zip file zf, inject directory entries for
any directories implied by the presence of children.
|
7322 |
| tox.ini |
|
655 |
| zipp.egg-info |
|
|
| zipp.py |
Given a path with elements separated by
posixpath.sep, generate all parents of that path.
>>> list(_parents('b/d'))
['b']
>>> list(_parents('/b/d/'))
['/b']
>>> list(_parents('b/d/f/'))
['b/d', 'b']
>>> list(_parents('b'))
[]
>>> list(_parents(''))
[]
|
7039 |