aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/virtuals/virtuals_repository.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-02-27 22:08:29 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-02-28 15:31:18 +0000
commitbf9e33c1c76c2c2387ada7ae7294efa21a1c2f2f (patch)
treefe00ac0ca9434b268499b6380220140fc5e1a816 /paludis/repositories/virtuals/virtuals_repository.cc
parent761f72d25876dac3e239fad163123d35cacda4a0 (diff)
downloadpaludis-bf9e33c1c76c2c2387ada7ae7294efa21a1c2f2f.tar.gz
paludis-bf9e33c1c76c2c2387ada7ae7294efa21a1c2f2f.tar.xz
Allow repos to return partial results if faster
Diffstat (limited to 'paludis/repositories/virtuals/virtuals_repository.cc')
-rw-r--r--paludis/repositories/virtuals/virtuals_repository.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/paludis/repositories/virtuals/virtuals_repository.cc b/paludis/repositories/virtuals/virtuals_repository.cc
index 8d9340f6c..c2270aed2 100644
--- a/paludis/repositories/virtuals/virtuals_repository.cc
+++ b/paludis/repositories/virtuals/virtuals_repository.cc
@@ -248,7 +248,7 @@ VirtualsRepository::need_ids() const
}
std::shared_ptr<const PackageIDSequence>
-VirtualsRepository::package_ids(const QualifiedPackageName & q) const
+VirtualsRepository::package_ids(const QualifiedPackageName & q, const RepositoryContentMayExcludes &) const
{
if (q.category().value() != "virtual")
return std::make_shared<PackageIDSequence>();
@@ -263,7 +263,7 @@ VirtualsRepository::package_ids(const QualifiedPackageName & q) const
}
std::shared_ptr<const QualifiedPackageNameSet>
-VirtualsRepository::package_names(const CategoryNamePart & c) const
+VirtualsRepository::package_names(const CategoryNamePart & c, const RepositoryContentMayExcludes &) const
{
if (c.value() != "virtual")
return std::make_shared<QualifiedPackageNameSet>();
@@ -278,7 +278,7 @@ VirtualsRepository::package_names(const CategoryNamePart & c) const
}
std::shared_ptr<const CategoryNamePartSet>
-VirtualsRepository::category_names() const
+VirtualsRepository::category_names(const RepositoryContentMayExcludes &) const
{
std::shared_ptr<CategoryNamePartSet> result(std::make_shared<CategoryNamePartSet>());
result->insert(CategoryNamePart("virtual"));
@@ -286,7 +286,7 @@ VirtualsRepository::category_names() const
}
bool
-VirtualsRepository::has_package_named(const QualifiedPackageName & q) const
+VirtualsRepository::has_package_named(const QualifiedPackageName & q, const RepositoryContentMayExcludes &) const
{
if (q.category().value() != "virtual")
return false;
@@ -304,7 +304,7 @@ VirtualsRepository::has_package_named(const QualifiedPackageName & q) const
}
bool
-VirtualsRepository::has_category_named(const CategoryNamePart & c) const
+VirtualsRepository::has_category_named(const CategoryNamePart & c, const RepositoryContentMayExcludes &) const
{
return (c.value() == "virtual");
}
@@ -405,7 +405,7 @@ VirtualsRepository::some_ids_might_not_be_masked() const
}
std::shared_ptr<const CategoryNamePartSet>
-VirtualsRepository::unimportant_category_names() const
+VirtualsRepository::unimportant_category_names(const RepositoryContentMayExcludes &) const
{
std::shared_ptr<CategoryNamePartSet> result(std::make_shared<CategoryNamePartSet>());
result->insert(CategoryNamePart("virtual"));