Add seek() method to archive and compress file classes
commit840e95c1cd2caa3ddf78f3c56e11279249e4e778
authorJon Turney <jon.turney@dronecode.org.uk>
Sun, 25 Jul 2021 14:53:39 +0000 (25 15:53 +0100)
committerJon Turney <jon.turney@dronecode.org.uk>
Fri, 6 Aug 2021 13:16:28 +0000 (6 14:16 +0100)
treeadd0d365694ec588c1e69d9df2f4a4cf587e9a85
parentbe11af20162eec1322302f75a0aa1a158036f091
Add seek() method to archive and compress file classes

Add seek() method to archive and compressed file isostream classes
(which can only rewind to the start).

Also clean up some cruft in archive class.

This still needs testing on a .gz archive (slightly involved as there
aren't any currently!)
archive.cc
archive.h
archive_tar.cc
compress_bz.cc
compress_bz.h
compress_gz.cc
compress_gz.h
compress_xz.cc
compress_xz.h
compress_zstd.cc
compress_zstd.h