aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/virtuals/installed_virtuals_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/virtuals/installed_virtuals_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/virtuals/installed_virtuals_repository.cc')
-rw-r--r--paludis/repositories/virtuals/installed_virtuals_repository.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/paludis/repositories/virtuals/installed_virtuals_repository.cc b/paludis/repositories/virtuals/installed_virtuals_repository.cc
index 8a2e21a0d..be83fc9be 100644
--- a/paludis/repositories/virtuals/installed_virtuals_repository.cc
+++ b/paludis/repositories/virtuals/installed_virtuals_repository.cc
@@ -246,6 +246,12 @@ InstalledVirtualsRepository::can_be_favourite_repository() const
return false;
}
+const bool
+InstalledVirtualsRepository::is_unimportant() const
+{
+ return false;
+}
+
namespace
{
struct SupportsActionQuery