summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/debmetaindex.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2015-08-27 18:13:00 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2015-08-27 18:16:50 +0200
commit1a3a14ac63b0c4f18de53a7bddcf79d20a5e814f (patch)
tree970faeb03bf9407e145aa607d755a08f6e8a0add /apt-pkg/deb/debmetaindex.h
parentbf33c3bd991be704494a060730f8370fd9cad52c (diff)
sources.list and indextargets option for pdiffs
Disabling pdiffs can be useful occasionally, like if you have a fast local mirror where the download doesn't matter, but still want to use it for non-local mirrors. Also, some users might prefer it to only use it for very big indextargets like Contents.
Diffstat (limited to 'apt-pkg/deb/debmetaindex.h')
-rw-r--r--apt-pkg/deb/debmetaindex.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-pkg/deb/debmetaindex.h b/apt-pkg/deb/debmetaindex.h
index e93959a21..bba0e344f 100644
--- a/apt-pkg/deb/debmetaindex.h
+++ b/apt-pkg/deb/debmetaindex.h
@@ -62,7 +62,8 @@ class APT_HIDDEN debReleaseIndex : public metaIndex
void AddComponent(bool const isSrc, std::string const &Name,
std::vector<std::string> const &Targets,
std::vector<std::string> const &Architectures,
- std::vector<std::string> Languages);
+ std::vector<std::string> Languages,
+ bool const usePDiffs);
};
#endif