aboutsummaryrefslogtreecommitdiff
path: root/paludis/fake_repository.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/fake_repository.cc')
-rw-r--r--paludis/fake_repository.cc15
1 files changed, 15 insertions, 0 deletions
diff --git a/paludis/fake_repository.cc b/paludis/fake_repository.cc
index cf3ebec..3f6cc7a 100644
--- a/paludis/fake_repository.cc
+++ b/paludis/fake_repository.cc
@@ -46,6 +46,9 @@ namespace paludis
/// Our metadata.
std::map<std::string, VersionMetadata::Pointer > metadata;
+ /// (Empty) provides map.
+ const std::map<QualifiedPackageName, QualifiedPackageName> provide_map;
+
/// Constructor.
Implementation() :
category_names(new CategoryNamePartCollection)
@@ -240,3 +243,15 @@ FakeRepository::invalidate() const
{
}
+Repository::ProvideMapIterator
+FakeRepository::begin_provide_map() const
+{
+ return _imp->provide_map.begin();
+}
+
+Repository::ProvideMapIterator
+FakeRepository::end_provide_map() const
+{
+ return _imp->provide_map.end();
+}
+