Remove FIXME

This commit is contained in:
Eelco Dolstra 2019-12-13 12:55:52 +01:00
parent d1b238ec3c
commit 3e787423c2

View file

@ -22,7 +22,6 @@ void unpackTarfile(const Path & tarFile, const Path & destDir,
auto source = sinkToSource([&](Sink & sink) { auto source = sinkToSource([&](Sink & sink) {
// FIXME: look at first few bytes to determine compression type. // FIXME: look at first few bytes to determine compression type.
auto decompressor = auto decompressor =
// FIXME: add .gz support
hasSuffix(*baseName, ".bz2") ? makeDecompressionSink("bzip2", sink) : hasSuffix(*baseName, ".bz2") ? makeDecompressionSink("bzip2", sink) :
hasSuffix(*baseName, ".gz") ? makeDecompressionSink("gzip", sink) : hasSuffix(*baseName, ".gz") ? makeDecompressionSink("gzip", sink) :
hasSuffix(*baseName, ".xz") ? makeDecompressionSink("xz", sink) : hasSuffix(*baseName, ".xz") ? makeDecompressionSink("xz", sink) :