diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2021-04-22 10:23:20 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2021-04-22 10:23:20 +0200 |
commit | 53857552278173641c0489a3196c51aab769bac8 (patch) | |
tree | 35cfdb7fcaac61a187fdabbc508afdc0f38b1606 /src/libutil/compression.hh | |
parent | a6eebcff36164735ff4523012d65c96ca497c905 (diff) |
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().
Diffstat (limited to 'src/libutil/compression.hh')
-rw-r--r-- | src/libutil/compression.hh | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libutil/compression.hh b/src/libutil/compression.hh index a140f8be2..338a0d9f2 100644 --- a/src/libutil/compression.hh +++ b/src/libutil/compression.hh @@ -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); |