CacheManager scans the cache directory during initialization.
authorCameron Dale <camrdale@gmail.com>
Tue, 15 Jan 2008 05:55:22 +0000 (21:55 -0800)
committerCameron Dale <camrdale@gmail.com>
Tue, 15 Jan 2008 05:55:22 +0000 (21:55 -0800)
commitd2e2a977ff11ad786479c362a8ed716fbc10e04c
tree6d4132a7792750216ae95b7bd82cdf8b5cf802e1
parentb1ee9d1ff5b0a75a28d7d80e659ab792f2e7a936
CacheManager scans the cache directory during initialization.

Actually the scanning is done after a successful join so that
files can be added to the DHT.

The HashObjects can now hash a file in a separate thread.

The donwload cache is scanned for new files too, causing the
decompressed versions of compressed Packages files to be
hashed and added to the DHT. This isn't currently consistent
since they are not added when they are first downloaded
and decompressed.
apt_dht/CacheManager.py
apt_dht/Hash.py
apt_dht/apt_dht.py