nix-super/src/libutil/compression.hh

17 lines
298 B
C++
Raw Normal View History

#pragma once
#include "ref.hh"
#include "types.hh"
#include <string>
namespace nix {
ref<std::string> compress(const std::string & method, const std::string & in);
ref<std::string> decompress(const std::string & method, const std::string & in);
MakeError(UnknownCompressionMethod, Error);
}