aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/e_installed_repository_id.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-09-04 21:34:18 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-09-04 21:34:18 +0100
commitc90d4dec7920a8d70949d8e2e71e704d2800d2c1 (patch)
treeb27391f20de3e33d4bfe074e6a5f9592d4fb3465 /paludis/repositories/e/e_installed_repository_id.cc
parent9a153e42f9703672b5a9de6d24d6a35697b05531 (diff)
downloadpaludis-c90d4dec7920a8d70949d8e2e71e704d2800d2c1.tar.gz
paludis-c90d4dec7920a8d70949d8e2e71e704d2800d2c1.tar.xz
PackageID::contents
Diffstat (limited to 'paludis/repositories/e/e_installed_repository_id.cc')
-rw-r--r--paludis/repositories/e/e_installed_repository_id.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/paludis/repositories/e/e_installed_repository_id.cc b/paludis/repositories/e/e_installed_repository_id.cc
index 62fb0de72..16bcea26d 100644
--- a/paludis/repositories/e/e_installed_repository_id.cc
+++ b/paludis/repositories/e/e_installed_repository_id.cc
@@ -867,6 +867,12 @@ EInstalledRepositoryID::contents_key() const
return _imp->keys->contents;
}
+const std::shared_ptr<const Contents>
+EInstalledRepositoryID::contents() const
+{
+ return contents_key()->parse_value();
+}
+
const std::shared_ptr<const MetadataTimeKey>
EInstalledRepositoryID::installed_time_key() const
{