aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/traditional_layout.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/e/traditional_layout.cc')
-rw-r--r--paludis/repositories/e/traditional_layout.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/paludis/repositories/e/traditional_layout.cc b/paludis/repositories/e/traditional_layout.cc
index b057b027b..49b1ea64b 100644
--- a/paludis/repositories/e/traditional_layout.cc
+++ b/paludis/repositories/e/traditional_layout.cc
@@ -20,6 +20,8 @@
#include <paludis/repositories/e/traditional_layout.hh>
#include <paludis/repositories/e/e_repository.hh>
+#include <paludis/repositories/e/file_suffixes.hh>
+
#include <paludis/util/config_file.hh>
#include <paludis/package_id.hh>
#include <paludis/package_database.hh>
@@ -246,7 +248,7 @@ TraditionalLayout::need_package_ids(const QualifiedPackageName & n) const
for (FSIterator e(path, { fsio_inode_sort }), e_end ; e != e_end ; ++e)
{
- if (! _imp->repository->is_package_file(n, *e))
+ if (! FileSuffixes::get_instance()->is_package_file(n, *e))
continue;
try
@@ -618,8 +620,8 @@ TraditionalLayout::manifest_files(const QualifiedPackageName & qpn) const
continue;
std::string file_type("MISC");
- if (_imp->repository->is_package_file(qpn, (*f)))
- file_type=_imp->repository->get_package_file_manifest_key((*f), qpn);
+ if (FileSuffixes::get_instance()->is_package_file(qpn, (*f)))
+ file_type = FileSuffixes::get_instance()->get_package_file_manifest_key((*f), qpn);
result->insert((*f), file_type);
}