forked from lix-project/lix
538a64e8c3
As a side effect, this ensures that signatures are propagated when copying paths between stores. Also refactored import/export to make use of this.
16 lines
298 B
C++
16 lines
298 B
C++
#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);
|
|
|
|
}
|