]> git.mxchange.org Git - quix0rs-apt-p2p.git/commit
Lookup the hash in the cache database.
authorCameron Dale <camrdale@gmail.com>
Tue, 15 Jan 2008 07:40:21 +0000 (23:40 -0800)
committerCameron Dale <camrdale@gmail.com>
Tue, 15 Jan 2008 07:40:21 +0000 (23:40 -0800)
commit73e507f17f01b02ee458cfd75abb955e195aa824
tree5274efd810cad4c8baec96b04c8eb3e069b57280
parentf83e9b0f84fdf3d3d98e7f2742a0512fd8aff7eb
Lookup the hash in the cache database.

If it's found, return that file.

Still need to implement copying the file to the cache if it's
not in there already (compare directory to cache_dir variable).
apt_dht/HTTPServer.py
apt_dht/apt_dht.py
apt_dht/db.py