dephell / dephell_archive

Pathlib for archives
MIT License
1 stars 6 forks source link

Pre-caching extractall #18

Open jayvdb opened 4 years ago

jayvdb commented 4 years ago

When doing deep inspection of an archive, it isnt effecient to leave the archive open and extract each file individually.

Both tarfile and zipfile support extractall, which could be used to fully populate the cache, and then the archive can be closed and disk cache used.