Persistent metadata describing a filesystem node.
More...
#include <inode.h>
Persistent metadata describing a filesystem node.
Definition at line 14 of file inode.h.
◆ blocks
| std::vector<std::size_t> contur::Inode::blocks |
Allocated data block indices owned by this inode.
Definition at line 26 of file inode.h.
◆ createdAt
| Tick contur::Inode::createdAt = 0 |
Creation timestamp in simulation ticks.
Definition at line 32 of file inode.h.
◆ id
Unique inode identifier.
Definition at line 17 of file inode.h.
◆ modifiedAt
| Tick contur::Inode::modifiedAt = 0 |
Last-modification timestamp in simulation ticks.
Definition at line 35 of file inode.h.
◆ parent
| std::optional<InodeId> contur::Inode::parent |
Parent inode, if any.
Definition at line 29 of file inode.h.
◆ size
| std::size_t contur::Inode::size = 0 |
Logical file size in bytes. For directories, this is entry count.
Definition at line 23 of file inode.h.
◆ type
Node type (file or directory).
Definition at line 20 of file inode.h.
The documentation for this struct was generated from the following file: