Description
GZip, Bzip2, Zip.. all of them have compression extensions.
But Xz (.tar.xz) is missing
Why?
In general, only to get around qirks like that: https://github.com/fluentassertions/fluentassertions/blob/main/Build/CompressionExtensions.cs
And: why shouldn't we support (at least decompressing) .tar.xz files, too?
Usage Example
// AbsolutePath dir = RootDirectory / "some" / "subfolder";
// dir.TarXzTo(RootDirectory / "bla.tar.xz");
// dir.CompressTo(RootDirectory / "bla.tar.xz");
// This is not possible...
// and respective:
AbsolutePath archive= RootDirectory / "bla.tar.xz";
archive.UnTarXzTo(RootDirectory / "some" / "subfolder1");
archive.UncompressTo(RootDirectory / "some" / "subfolder2");
Alternative
Making this logic in exactly every project where needed...
Could you help with a pull-request?
Yes
Description
GZip, Bzip2, Zip.. all of them have compression extensions.
But Xz (.tar.xz) is missing
Why?
In general, only to get around qirks like that: https://github.com/fluentassertions/fluentassertions/blob/main/Build/CompressionExtensions.cs
And: why shouldn't we support (at least decompressing) .tar.xz files, too?
Usage Example
Alternative
Making this logic in exactly every project where needed...
Could you help with a pull-request?
Yes