Draft: Add zstd compression support to TarBuilder
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you receive complimentary access to GitLab Duo.
What does this MR do?
- Introduces a compression option (uses z standard) to
TarBuilderfor creating smaller partition backup archives. - Adds a
NewTarBuilderWithCompressionconstructor and aWriteZstdTarballfunction. - Maintains backward compatibility with existing implementations.
Related Issue
How to validate this MR
- run
go test -v ./internal/archive
Edited by 🤖 GitLab Bot 🤖