lix/src/libutil/compression.hh
Eelco Dolstra d1b0909894 BinaryCacheStore::readFile(): Return a shared_ptr to a string
This allows readFile() to indicate that a file doesn't exist, and
might eliminate some large string copying.
2016-04-15 15:39:48 +02:00

14 lines
176 B
C++

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