]> git.ipfire.org Git - pakfire.git/commit
file: Use "struct archive_entry" to store lots of metadata
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 25 Aug 2023 17:39:41 +0000 (17:39 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 25 Aug 2023 17:39:41 +0000 (17:39 +0000)
commit37c5d873e7b9ccc9c3753c8737a886d88a4a2bb2
treec4ba1f919ed4aae986a23f972ad4ebe4849bac84
parente990815da1cdb8391f5b842b9b90f3da70f3ae99
file: Use "struct archive_entry" to store lots of metadata

We used to copy metadata information from the entry format and back
again which does not seem to be too clever. The overhead of the entry
isn't that high that we cannot simply use them here.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/file.c
src/libpakfire/include/pakfire/file.h
src/libpakfire/packager.c