mirror of
https://github.com/NixOS/nix
synced 2025-06-29 06:21:14 +02:00
Remove makeDecompressionSource()
This function doesn't support all compression methods (i.e. 'none' and 'br') so it shouldn't be exposed. Also restore the original decompress() as a wrapper around makeDecompressionSink().
This commit is contained in:
parent
a6eebcff36
commit
5385755227
2 changed files with 6 additions and 21 deletions
|
@ -15,8 +15,6 @@ struct CompressionSink : BufferedSink, FinishSink
|
|||
using FinishSink::finish;
|
||||
};
|
||||
|
||||
std::unique_ptr<Source> makeDecompressionSource(Source & prev);
|
||||
|
||||
ref<std::string> decompress(const std::string & method, const std::string & in);
|
||||
|
||||
std::unique_ptr<FinishSink> makeDecompressionSink(const std::string & method, Sink & nextSink);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue