about summary refs log tree commit diff
path: root/src/libutil/compression.hh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-02-15T20·45+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-02-15T20·45+0100
commiteff5021eaa6dc69f65ea1a8abe8f3ab11ef5eb0a (patch)
tree014068ef94f3aae867e035c0c30ba5e721555c09 /src/libutil/compression.hh
parentbfdacb712c9a95b5c61857b2b3a7dd3cfd0faf3b (diff)
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.
Diffstat (limited to 'src/libutil/compression.hh')
-rw-r--r--src/libutil/compression.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libutil/compression.hh b/src/libutil/compression.hh
index 962ce5ac7767..eb1697fc4aa4 100644
--- a/src/libutil/compression.hh
+++ b/src/libutil/compression.hh
@@ -4,6 +4,8 @@
 
 namespace nix {
 
+std::string compressXZ(const std::string & in);
+
 std::string decompressXZ(const std::string & in);
 
 }