Max OS 0.3
Loading...
Searching...
No Matches
MaxOS::filesystem::format::ext2::DirectoryEntry Struct Reference

An entry in a directory that points to a file or subdirectory (the name follows this struct) More...

#include <ext2.h>

Public Attributes

uint32_t inode
 The inode number this entry points to (0 = unused)
 
uint16_t size
 The total size of this entry (including name)
 
uint8_t name_length
 The length of the name.
 
uint8_t type
 The type of the entry (see EntryType) (only if the high bit of the superblock's optional_features is set)
 

Detailed Description

An entry in a directory that points to a file or subdirectory (the name follows this struct)

Definition at line 290 of file ext2.h.

Member Data Documentation

◆ inode

uint32_t MaxOS::filesystem::format::ext2::DirectoryEntry::inode

The inode number this entry points to (0 = unused)

Definition at line 291 of file ext2.h.

◆ name_length

uint8_t MaxOS::filesystem::format::ext2::DirectoryEntry::name_length

The length of the name.

Definition at line 293 of file ext2.h.

◆ size

uint16_t MaxOS::filesystem::format::ext2::DirectoryEntry::size

The total size of this entry (including name)

Definition at line 292 of file ext2.h.

◆ type

uint8_t MaxOS::filesystem::format::ext2::DirectoryEntry::type

The type of the entry (see EntryType) (only if the high bit of the superblock's optional_features is set)

Definition at line 294 of file ext2.h.


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