Remove FIXME
This commit is contained in:
parent
d1b238ec3c
commit
3e787423c2
|
@ -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) :
|
||||||
|
|
Loading…
Reference in a new issue