about summary refs log blame commit diff
path: root/src/libutil/compression.hh
blob: ed3c463865c1125112b07c77f4a757b08afeb49b (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, const std::string & in);

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

MakeError(UnknownCompressionMethod, Error);

}