mirror of
https://github.com/NixOS/nix
synced 2025-06-26 07:31:15 +02:00
Add xz compression function
This is used by the Hydra queue runner, but since it may also be useful for the C++ rewrite of nix-push, I'm putting it here.
This commit is contained in:
parent
bfdacb712c
commit
eff5021eaa
2 changed files with 42 additions and 0 deletions
|
@ -4,6 +4,8 @@
|
|||
|
||||
namespace nix {
|
||||
|
||||
std::string compressXZ(const std::string & in);
|
||||
|
||||
std::string decompressXZ(const std::string & in);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue