aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/fake/fake_repository.cc
diff options
context:
space:
mode:
authorAvatar Paul Mulders <info@mld.demon.nl> 2010-03-11 18:29:40 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-03-11 17:39:59 +0000
commit9f50693474e974ecdf7fd0f02f358c4e50858d27 (patch)
tree5240ebada8380e0625e8bcc0b3ae28f461895b5f /paludis/repositories/fake/fake_repository.cc
parentef5d3ecffec6ee97bbd213fbc5569de904191aed (diff)
downloadpaludis-9f50693474e974ecdf7fd0f02f358c4e50858d27.tar.gz
paludis-9f50693474e974ecdf7fd0f02f358c4e50858d27.tar.xz
Add is_unimportant() to Repositories
Only returns true for UnwrittenRepositories and UnavailableRepositories for now, to be used in disambiguation
Diffstat (limited to 'paludis/repositories/fake/fake_repository.cc')
-rw-r--r--paludis/repositories/fake/fake_repository.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/paludis/repositories/fake/fake_repository.cc b/paludis/repositories/fake/fake_repository.cc
index 2572237d3..370846043 100644
--- a/paludis/repositories/fake/fake_repository.cc
+++ b/paludis/repositories/fake/fake_repository.cc
@@ -140,6 +140,12 @@ FakeRepository::some_ids_might_support_action(const SupportsActionTestBase & a)
return a.accept_returning<bool>(q);
}
+const bool
+FakeRepository::is_unimportant() const
+{
+ return false;
+}
+
const std::tr1::shared_ptr<const MetadataValueKey<std::string> >
FakeRepository::format_key() const
{