aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/virtuals
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-11-07 22:21:30 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-11-07 22:21:30 +0000
commita7d1a3d9a271be81af6b01ef310147fd2aa35c94 (patch)
tree52a58c2f12643f62e4e4840aee5885b8ad26842b /paludis/repositories/virtuals
parente15f518956383d4dc22bee5c13939f8de247a46d (diff)
downloadpaludis-a7d1a3d9a271be81af6b01ef310147fd2aa35c94.tar.gz
paludis-a7d1a3d9a271be81af6b01ef310147fd2aa35c94.tar.xz
Let sync take a suffix
Diffstat (limited to 'paludis/repositories/virtuals')
-rw-r--r--paludis/repositories/virtuals/installed_virtuals_repository.cc6
-rw-r--r--paludis/repositories/virtuals/installed_virtuals_repository.hh4
-rw-r--r--paludis/repositories/virtuals/virtuals_repository.cc6
-rw-r--r--paludis/repositories/virtuals/virtuals_repository.hh4
4 files changed, 12 insertions, 8 deletions
diff --git a/paludis/repositories/virtuals/installed_virtuals_repository.cc b/paludis/repositories/virtuals/installed_virtuals_repository.cc
index 97e7bec60..5b02b3561 100644
--- a/paludis/repositories/virtuals/installed_virtuals_repository.cc
+++ b/paludis/repositories/virtuals/installed_virtuals_repository.cc
@@ -394,7 +394,9 @@ InstalledVirtualsRepository::populate_sets() const
}
bool
-InstalledVirtualsRepository::sync(const std::shared_ptr<OutputManager> &) const
+InstalledVirtualsRepository::sync(
+ const std::string &,
+ const std::shared_ptr<OutputManager> &) const
{
return false;
}
@@ -405,7 +407,7 @@ InstalledVirtualsRepository::accept_keywords_key() const
return make_null_shared_ptr();
}
-const std::shared_ptr<const MetadataValueKey<std::string> >
+const std::shared_ptr<const MetadataCollectionKey<Map<std::string, std::string> > >
InstalledVirtualsRepository::sync_host_key() const
{
return make_null_shared_ptr();
diff --git a/paludis/repositories/virtuals/installed_virtuals_repository.hh b/paludis/repositories/virtuals/installed_virtuals_repository.hh
index 83f129484..b2e397a0b 100644
--- a/paludis/repositories/virtuals/installed_virtuals_repository.hh
+++ b/paludis/repositories/virtuals/installed_virtuals_repository.hh
@@ -110,7 +110,7 @@ namespace paludis
virtual bool some_ids_might_not_be_masked() const;
- virtual bool sync(const std::shared_ptr<OutputManager> &) const;
+ virtual bool sync(const std::string &, const std::shared_ptr<OutputManager> &) const;
/* Keys */
@@ -118,7 +118,7 @@ namespace paludis
virtual const std::shared_ptr<const MetadataValueKey<FSPath> > location_key() const;
virtual const std::shared_ptr<const MetadataValueKey<FSPath> > installed_root_key() const;
virtual const std::shared_ptr<const MetadataValueKey<std::string> > accept_keywords_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<std::string> > sync_host_key() const;
+ virtual const std::shared_ptr<const MetadataCollectionKey<Map<std::string, std::string> > > sync_host_key() const;
/* RepositoryDestinationInterface */
diff --git a/paludis/repositories/virtuals/virtuals_repository.cc b/paludis/repositories/virtuals/virtuals_repository.cc
index b9fddc70c..f499eb8db 100644
--- a/paludis/repositories/virtuals/virtuals_repository.cc
+++ b/paludis/repositories/virtuals/virtuals_repository.cc
@@ -472,7 +472,9 @@ VirtualsRepository::perform_hook(const Hook &, const std::shared_ptr<OutputManag
}
bool
-VirtualsRepository::sync(const std::shared_ptr<OutputManager> &) const
+VirtualsRepository::sync(
+ const std::string &,
+ const std::shared_ptr<OutputManager> &) const
{
return false;
}
@@ -483,7 +485,7 @@ VirtualsRepository::accept_keywords_key() const
return make_null_shared_ptr();
}
-const std::shared_ptr<const MetadataValueKey<std::string> >
+const std::shared_ptr<const MetadataCollectionKey<Map<std::string, std::string> > >
VirtualsRepository::sync_host_key() const
{
return make_null_shared_ptr();
diff --git a/paludis/repositories/virtuals/virtuals_repository.hh b/paludis/repositories/virtuals/virtuals_repository.hh
index bea701b34..649eda329 100644
--- a/paludis/repositories/virtuals/virtuals_repository.hh
+++ b/paludis/repositories/virtuals/virtuals_repository.hh
@@ -107,7 +107,7 @@ namespace paludis
virtual bool some_ids_might_not_be_masked() const;
- virtual bool sync(const std::shared_ptr<OutputManager> &) const;
+ virtual bool sync(const std::string &, const std::shared_ptr<OutputManager> &) const;
/* RepositoryMakeVirtualsInterface */
@@ -121,7 +121,7 @@ namespace paludis
virtual const std::shared_ptr<const MetadataValueKey<FSPath> > location_key() const;
virtual const std::shared_ptr<const MetadataValueKey<FSPath> > installed_root_key() const;
virtual const std::shared_ptr<const MetadataValueKey<std::string> > accept_keywords_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<std::string> > sync_host_key() const;
+ virtual const std::shared_ptr<const MetadataCollectionKey<Map<std::string, std::string> > > sync_host_key() const;
///\name Set methods
///\{