summaryrefslogtreecommitdiff
path: root/apt-pkg/indexfile.h
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2018-01-18 14:24:48 +0000
committerJulian Andres Klode <jak@debian.org>2018-01-18 14:24:48 +0000
commit697b6cc80057b08534fb2e7ea6c913aae34cceb9 (patch)
tree62b7a69010923a7cd3bd43615642f53baa11819b /apt-pkg/indexfile.h
parent8aae95a7f87a50d1eeb3c4720556a117ec1f59d9 (diff)
parent698f9e3f9877be2aa181d6e40d3dc5c41ea318b7 (diff)
Merge branch 'inrelease-path' into 'master'
Introduce inrelease-path option for sources.list See merge request apt-team/apt!2
Diffstat (limited to 'apt-pkg/indexfile.h')
-rw-r--r--apt-pkg/indexfile.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/apt-pkg/indexfile.h b/apt-pkg/indexfile.h
index 7ebbd66f1..31b95172e 100644
--- a/apt-pkg/indexfile.h
+++ b/apt-pkg/indexfile.h
@@ -72,7 +72,8 @@ class IndexTarget /*{{{*/
std::string const &LongDesc, std::string const &URI, bool const IsOptional,
bool const KeepCompressed, std::map<std::string, std::string> const &Options);
- enum OptionKeys {
+ enum OptionKeys
+ {
SITE,
RELEASE,
COMPONENT,
@@ -95,6 +96,7 @@ class IndexTarget /*{{{*/
ALLOW_INSECURE,
ALLOW_WEAK,
ALLOW_DOWNGRADE_TO_INSECURE,
+ INRELEASE_PATH,
};
std::string Option(OptionKeys const Key) const;
bool OptionBool(OptionKeys const Key) const;