aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/format_plain_contents_entry.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/clients/cave/format_plain_contents_entry.cc')
-rw-r--r--src/clients/cave/format_plain_contents_entry.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/clients/cave/format_plain_contents_entry.cc b/src/clients/cave/format_plain_contents_entry.cc
index 338986a..2b1efc7 100644
--- a/src/clients/cave/format_plain_contents_entry.cc
+++ b/src/clients/cave/format_plain_contents_entry.cc
@@ -21,7 +21,7 @@
#include "format_string.hh"
#include <paludis/util/wrapped_forward_iterator.hh>
#include <paludis/util/map.hh>
-#include <paludis/util/fs_entry.hh>
+#include <paludis/util/fs_path.hh>
#include <paludis/util/stringify.hh>
#include <paludis/contents.hh>
#include <paludis/metadata_key.hh>
@@ -56,11 +56,11 @@ namespace
}
};
- int number_of_parents(const FSEntry & f)
+ int number_of_parents(const FSPath & f)
{
- FSEntry ff(f);
+ FSPath ff(f);
int result(0);
- while (((ff = ff.dirname())) != FSEntry("/"))
+ while (((ff = ff.dirname())) != FSPath("/"))
++result;
return result;
}