diff options
Diffstat (limited to 'paludis/repositories/e')
-rw-r--r-- | paludis/repositories/e/e_installed_repository.cc | 6 | ||||
-rw-r--r-- | paludis/repositories/e/e_installed_repository.hh | 2 | ||||
-rw-r--r-- | paludis/repositories/e/e_repository.cc | 6 | ||||
-rw-r--r-- | paludis/repositories/e/e_repository.hh | 4 |
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; |