]> git.ipfire.org Git - thirdparty/libarchive.git/commit
support reading metadata from compressed files 958/head
authorMike Frysinger <vapier@gentoo.org>
Mon, 27 Mar 2017 00:29:34 +0000 (20:29 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sun, 21 Apr 2019 13:04:16 +0000 (23:04 +1000)
commit0debf359fc2d4796aedab04d96c6e2046551b56e
tree9b2216f54e8fe82a0ef1876cc3957f28ae14d469
parent5405343bfd53830b3d018b2d982845de851aba5c
support reading metadata from compressed files

The raw format provides very little metadata.  Allow filters to pass
back state that it knows about.  With gzip, we know the original file
name, mtime, and file size.  For now, we only pull out the first two
as those are available in the file header.  The latter is in the file
trailer, so we'll have to add support for that later (if we can seek
the input).
libarchive/archive_read.c
libarchive/archive_read_private.h
libarchive/archive_read_support_filter_gzip.c
libarchive/archive_read_support_format_raw.c
libarchive/test/test_read_format_raw.c
libarchive/test/test_read_format_raw.data.gz.uu [new file with mode: 0644]