]> git.saurik.com Git - apt.git/commit - ftparchive/byhash.h
Add support for writing by-hash dirs in apt-ftparchive
authorMichael Vogt <mvo@ubuntu.com>
Fri, 4 Sep 2015 21:29:38 +0000 (23:29 +0200)
committerMichael Vogt <mvo@ubuntu.com>
Fri, 4 Sep 2015 21:29:38 +0000 (23:29 +0200)
commit7852873a1347fcab50393b545cc1e6edd65531c8
tree73cfb2912e6676f8a36b6d28c0599175233035cc
parentc7609dd7a418428ffbca4c81a7950c4f53c92450
Add support for writing by-hash dirs in apt-ftparchive

This option is enabled via the APT::FTPArchive::DoByHash switch.
It will also honor the option APT::FTPArchive::By-Hash-Keep that
controls how many previous generation of by-hash files should be
kept (defaults to 3).

Merged from https://github.com/mvo5/apt/tree/feature/apt-ftparchive-by-hash
ftparchive/byhash.cc [new file with mode: 0644]
ftparchive/byhash.h [new file with mode: 0644]
ftparchive/makefile
ftparchive/writer.cc
test/integration/test-apt-ftparchive-by-hash [new file with mode: 0755]