May 26, 2018
API wrapper around the ‘tar’ utility
ArchiveTarWrapper is an API wrapper around the ‘tar’ command line utility. It never stores anything in memory, but works on temporary directory structures on disk instead. It provides a mapping between the logical paths in the tarball and the ‘real’ files in the temporary directory on disk.
It differs from ArchiveTar in two ways
- ArchiveTarWrapper doesn’t hold anything in memory. Everything is stored on disk.
- ArchiveTarWrapper is 100 compliant with the platform’s tar utility, because it uses it internally.