about summary refs log tree commit diff
path: root/src/libutil/compression.hh
blob: 33c465df84553a8003c1e73b3ba7b5c40c11ac3b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include "ref.hh"
#include "types.hh"

#include <string>

namespace nix {

ref<std::string> compress(const std::string & method, ref<std::string> in);

ref<std::string> decompress(const std::string & method, ref<std::string> in);

MakeError(UnknownCompressionMethod, Error);

}