contur2
Loading...
Searching...
No Matches
contur::InodeInfo Struct Reference

Public inode metadata returned by stat(). More...

#include <i_filesystem.h>

Public Attributes

InodeId id = INVALID_INODE_ID
 Inode identifier.
InodeType type = InodeType::File
 Inode node type.
std::size_t size = 0
 Logical size in bytes.
std::size_t blockCount = 0
 Number of allocated data blocks.
Tick createdAt = 0
 Creation timestamp in ticks.
Tick modifiedAt = 0
 Last-modification timestamp in ticks.

Detailed Description

Public inode metadata returned by stat().

Definition at line 18 of file i_filesystem.h.

Member Data Documentation

◆ blockCount

std::size_t contur::InodeInfo::blockCount = 0

Number of allocated data blocks.

Definition at line 30 of file i_filesystem.h.

◆ createdAt

Tick contur::InodeInfo::createdAt = 0

Creation timestamp in ticks.

Definition at line 33 of file i_filesystem.h.

◆ id

InodeId contur::InodeInfo::id = INVALID_INODE_ID

Inode identifier.

Definition at line 21 of file i_filesystem.h.

◆ modifiedAt

Tick contur::InodeInfo::modifiedAt = 0

Last-modification timestamp in ticks.

Definition at line 36 of file i_filesystem.h.

◆ size

std::size_t contur::InodeInfo::size = 0

Logical size in bytes.

Definition at line 27 of file i_filesystem.h.

◆ type

InodeType contur::InodeInfo::type = InodeType::File

Inode node type.

Definition at line 24 of file i_filesystem.h.


The documentation for this struct was generated from the following file: