20 #ifndef BUILDCACHE_COMPRESSOR_HPP_
21 #define BUILDCACHE_COMPRESSOR_HPP_
30 std::string
compress(
const std::string& str);
35 std::string
decompress(
const std::string& str);
41 void compress_file(
const std::string& from_path,
const std::string& to_path);
47 void decompress_file(
const std::string& from_path,
const std::string& to_path);
51 #endif // BUILDCACHE_COMPRESSOR_HPP_
std::string decompress(const std::string &compressed_str)
Decompress a string in memory.
Definition: compressor.cpp:153
The top level namespace.
Definition: compressor.cpp:34
void compress_file(const std::string &from_path, const std::string &to_path)
Compress a file.
Definition: compressor.cpp:209
void decompress_file(const std::string &from_path, const std::string &to_path)
Decompress a file.
Definition: compressor.cpp:224
std::string compress(const std::string &str)
Compress a string in memory.
Definition: compressor.cpp:133