summaryrefslogtreecommitdiff
path: root/include/fud_directory.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/fud_directory.hpp')
-rw-r--r--include/fud_directory.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/fud_directory.hpp b/include/fud_directory.hpp
index 5a988dc..e6052c4 100644
--- a/include/fud_directory.hpp
+++ b/include/fud_directory.hpp
@@ -70,6 +70,7 @@ struct Stat;
/** \brief Simplified Directory Entry */
struct DirectoryEntry {
String name;
+ size_t inode;
size_t size;
size_t links;
time_t modificationTime;
@@ -97,6 +98,10 @@ class Directory {
Directory& operator=(const Directory& rhs) = delete;
Directory& operator=(Directory&& rhs);
+ constexpr const String& name() const {
+ return m_name;
+ }
+
constexpr FudStatus status() const
{
return m_status;