summaryrefslogtreecommitdiff
path: root/include/fud_directory.hpp
diff options
context:
space:
mode:
authorDominick Allen <djallen@librehumanitas.org>2024-09-28 18:35:57 -0500
committerDominick Allen <djallen@librehumanitas.org>2024-09-28 18:35:57 -0500
commit4ef88103f74a3a6e8e36ae9eff80f641e20bd1a1 (patch)
tree4dc098488ea087de82b1edccdc89853c6b04c891 /include/fud_directory.hpp
parentb6967c8a9190efa4e9128850fa723fe3ea3140f7 (diff)
Fix string catenate error.
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;