]> git.saurik.com Git - apt.git/commit - apt-pkg/indexfile.h
implement 'apt-get files' to access index targets
authorDavid Kalnischkies <david@kalnischkies.de>
Thu, 11 Jun 2015 14:40:45 +0000 (16:40 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Thu, 11 Jun 2015 14:49:29 +0000 (16:49 +0200)
commit8881b11eacd735148d087c8c0f53827cb537b582
treeb8b0706b1afeaf9d4022cd845025014fbabcbffb
parent001c76fe204e17916a6c8b351ff30b67d32cb779
implement 'apt-get files' to access index targets

Downloading additional files is only half the job. We still need a way
to allow external tools to know where the files are they requested for
download given that we don't want them to choose their own location.

'apt-get files' is our answer to this showing by default in a deb822
format information about each IndexTarget with the potential to filter
the records based on lines and an option to change the output format.

The command serves also as an example on how to get to this information
via libapt.
apt-pkg/deb/debmetaindex.cc
apt-pkg/indexfile.cc
apt-pkg/indexfile.h
apt-private/private-cmndline.cc
cmdline/apt-get.cc
doc/acquire-additional-files.txt
doc/apt-get.8.xml
test/integration/test-apt-acquire-additional-files