mirror of
git://git.proxmox.com/git/pxar.git
synced 2025-03-11 20:58:47 +03:00
During regular pxar archive encoding, the payload of regular files is written as part of the archive. This patch introduces functionality to instead attach a writer variant with a split payload writer instance to redirect the payload to a different output. The separation of data and metadata streams allows for efficient reuse of payload data by referencing the payload writer byte offset, without having to reencode it. Whenever the payload of regular files is redirected to a dedicated output writer, encode a payload reference header followed by the required data to locate the data, instead of adding the regular payload header followed by the encoded payload to the archive. This is in preparation for reusing payload chunks for unchanged files of backups created via the proxmox-backup-client. Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
Description
No description provided
Languages
Rust
99.4%
Makefile
0.6%