Skip to content
Snippets Groups Projects
Commit 3e787423 authored by Eelco Dolstra's avatar Eelco Dolstra
Browse files

Remove FIXME

parent d1b238ec
No related branches found
No related tags found
No related merge requests found
...@@ -22,7 +22,6 @@ void unpackTarfile(const Path & tarFile, const Path & destDir, ...@@ -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) :
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment