-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CP-45506: Archive /etc/systemd a tar archive inside the output
TarOutput and ZipOutput are now subclasses of ArchiveWithTarSubarchives which implements declare_subarchive(define the paths of subarchives), add_path_to_subarchive(add a file to a defined subarchive) and add_subarchives(close subarchives and add them to the output). The latter is called from ZipOutput/TarOutput's close() method to finalize the subarchives before writing the output archives. add_path_to_subarchive() is called by by ZipOutput/TarOutput's addRealFile() to add the file to the subarchive if needed instead. declare_subarchive() is called by main() to define the paths which shall be captured into the respective subarchives. Signed-off-by: Bernhard Kaindl <bernhard.kaindl@citrix.com>
- Loading branch information
Bernhard Kaindl
committed
Oct 2, 2023
1 parent
8babe28
commit 32176ae
Showing
1 changed file
with
80 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters