lix/src/libutil/compression.hh
Eelco Dolstra eff5021eaa 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.
2016-02-15 21:45:56 +01:00

12 lines
152 B
C++

#pragma once
#include <string>
namespace nix {
std::string compressXZ(const std::string & in);
std::string decompressXZ(const std::string & in);
}