aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-21 19:04:21 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-21 19:04:21 +0100
commitb5b70753c4185b07ec85bfbd0587078ca29552a0 (patch)
tree584424f0c8581b7931ab6a4bae2eeea3c5dfbcb8 /paludis/repositories/e
parent6ad3da4d54ab976085c8f1d38629f7cfb3b5b3f3 (diff)
downloadpaludis-b5b70753c4185b07ec85bfbd0587078ca29552a0.tar.gz
paludis-b5b70753c4185b07ec85bfbd0587078ca29552a0.tar.xz
Repository::some_ids_might_not_be_masked
Diffstat (limited to 'paludis/repositories/e')
-rw-r--r--paludis/repositories/e/e_installed_repository.cc6
-rw-r--r--paludis/repositories/e/e_installed_repository.hh2
-rw-r--r--paludis/repositories/e/e_repository.cc6
-rw-r--r--paludis/repositories/e/e_repository.hh4
4 files changed, 17 insertions, 1 deletions
diff --git a/paludis/repositories/e/e_installed_repository.cc b/paludis/repositories/e/e_installed_repository.cc
index f3f8b8b46..f0701a436 100644
--- a/paludis/repositories/e/e_installed_repository.cc
+++ b/paludis/repositories/e/e_installed_repository.cc
@@ -132,6 +132,12 @@ EInstalledRepository::some_ids_might_support_action(const SupportsActionTestBase
}
bool
+EInstalledRepository::some_ids_might_not_be_masked() const
+{
+ return true;
+}
+
+bool
EInstalledRepository::is_suitable_destination_for(const PackageID & e) const
{
std::string f(e.repository()->format_key() ? e.repository()->format_key()->value() : "");
diff --git a/paludis/repositories/e/e_installed_repository.hh b/paludis/repositories/e/e_installed_repository.hh
index e55a1fa88..a3d957a47 100644
--- a/paludis/repositories/e/e_installed_repository.hh
+++ b/paludis/repositories/e/e_installed_repository.hh
@@ -81,6 +81,8 @@ namespace paludis
virtual bool some_ids_might_support_action(const SupportsActionTestBase &) const;
+ virtual bool some_ids_might_not_be_masked() const;
+
HookResult perform_hook(const Hook & hook)
PALUDIS_ATTRIBUTE((warn_unused_result));
diff --git a/paludis/repositories/e/e_repository.cc b/paludis/repositories/e/e_repository.cc
index 94bc2bc20..eefbec92e 100644
--- a/paludis/repositories/e/e_repository.cc
+++ b/paludis/repositories/e/e_repository.cc
@@ -1061,6 +1061,12 @@ ERepository::some_ids_might_support_action(const SupportsActionTestBase & a) con
return a.accept_returning<bool>(q);
}
+bool
+ERepository::some_ids_might_not_be_masked() const
+{
+ return true;
+}
+
void
ERepository::make_manifest(const QualifiedPackageName & qpn)
{
diff --git a/paludis/repositories/e/e_repository.hh b/paludis/repositories/e/e_repository.hh
index 4310e51b7..949be118c 100644
--- a/paludis/repositories/e/e_repository.hh
+++ b/paludis/repositories/e/e_repository.hh
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2005, 2006, 2007, 2008, 2009 Ciaran McCreesh
+ * Copyright (c) 2005, 2006, 2007, 2008, 2009, 2010 Ciaran McCreesh
*
* This file is part of the Paludis package manager. Paludis is free software;
* you can redistribute it and/or modify it under the terms of the GNU General
@@ -142,6 +142,8 @@ namespace paludis
virtual bool some_ids_might_support_action(const SupportsActionTestBase &) const;
+ virtual bool some_ids_might_not_be_masked() const;
+
const erepository::ERepositoryParams & params() const;
std::string profile_variable(const std::string &) const;