contur2
Loading...
Searching...
No Matches
directory_entry.h
Go to the documentation of this file.
1
3
4#pragma once
5
6#include <string>
7
8#include "contur/fs/inode.h"
9
10namespace contur {
11
24
25} // namespace contur
Inode types for the SimpleFS file-system simulation.
Definition block.h:15
constexpr InodeId INVALID_INODE_ID
Sentinel value indicating an invalid inode identifier.
Definition types.h:55
InodeType
Type of filesystem node.
Definition types.h:37
std::uint32_t InodeId
Unique identifier for a filesystem inode.
Definition types.h:33
One child entry in a directory.
InodeType type
Child inode type.
std::string name
Child name relative to parent directory.
InodeId inodeId
Child inode identifier.