]> git.saurik.com Git - apt.git/commit - apt-pkg/deb/debindexfile.cc
use an enum instead of strings as IndexTarget::Option interface
authorDavid Kalnischkies <david@kalnischkies.de>
Thu, 11 Jun 2015 09:59:16 +0000 (11:59 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Thu, 11 Jun 2015 09:59:16 +0000 (11:59 +0200)
commit001c76fe204e17916a6c8b351ff30b67d32cb779
tree5ce4ec8dca05a152e6ecb2daf436cf2b5b0a9a96
parente3c1cfc767f17f5e9b2cd99f2658db3d6ac8edd9
use an enum instead of strings as IndexTarget::Option interface

Strings are easy to typo and we can keep the extensibility we require
here with a simple enum we can append to without endangering ABI.

Git-Dch: Ignore
apt-pkg/deb/debindexfile.cc
apt-pkg/deb/debmetaindex.cc
apt-pkg/indexfile.cc
apt-pkg/indexfile.h