about summary refs log tree commit diff
path: root/src/libutil/compression.cc
AgeCommit message (Collapse)AuthorFilesLines
2016-11-26 Revert "Get rid of unicode quotes (#1140)"Eelco Dolstra1-2/+2
This reverts commit f78126bfd6b6c8477fcdbc09b2f98772dbe9a1e7. There really is no need for such a massive change...
2016-11-25 Get rid of unicode quotes (#1140)Guillaume Maudoux1-2/+2
2016-05-04 Do compression in a sinkEelco Dolstra1-92/+168
2016-05-04 Add a Store::addToStore() variant that accepts a NAREelco Dolstra1-8/+8
As a side effect, this ensures that signatures are propagated when copying paths between stores. Also refactored import/export to make use of this.
2016-05-04 Fix segfault in xz compression/decompressionEelco Dolstra1-2/+2
2016-04-29 BinaryCacheStore: Support bzip2 compressionEelco Dolstra1-34/+116
2016-04-29 BinaryCacheStore: Support "none" compression methodEelco Dolstra1-4/+24
2016-04-22 Make compression interruptibleEelco Dolstra1-1/+3
2016-04-15 BinaryCacheStore::readFile(): Return a shared_ptr to a stringEelco Dolstra1-3/+3
This allows readFile() to indicate that a file doesn't exist, and might eliminate some large string copying.
2016-02-15 Add xz compression functionEelco Dolstra1-0/+40
This is used by the Hydra queue runner, but since it may also be useful for the C++ rewrite of nix-push, I'm putting it here.
2016-02-15 decompressXZ: Ensure that lzma_end() is calledEelco Dolstra1-12/+21
Otherwise we might leak memory.
2016-01-05 Fixed unresolved 'BUFSIZ'FrankHB1-0/+1
`BUFSIZ` is defined in header `<cstdio>`.
2015-10-30 <nix/fetchurl.nix>: Support xz-compressed NARsEelco Dolstra1-0/+46