about summary refs log blame commit diff
path: root/src/libutil/compression.hh
blob: 33c465df84553a8003c1e73b3ba7b5c40c11ac3b (plain) (tree)
1
2
3
4
5
6
7
8
9

            
                 
                   
 



                 
                                                                           
 


                                                                             

 
#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);

}