Iros
 
Loading...
Searching...
No Matches
directory.h
Go to the documentation of this file.
1#pragma once
2
4
6#include "di/types/prelude.h"
7
8namespace iris {
15
16 auto name() const -> di::TransparentStringView {
17 return di::TransparentStringView { reinterpret_cast<char const*>(this + 1), name_length };
18 }
19};
20}
string::StringViewImpl< string::TransparentEncoding > TransparentStringView
Definition string_view.h:13
__UINT64_TYPE__ u64
Definition integers.h:12
__UINT8_TYPE__ u8
Definition integers.h:9
__UINT16_TYPE__ u16
Definition integers.h:10
Definition zstring_parser.h:9
Definition cxx_init.cpp:12
MetadataType
Definition metadata.h:6
Definition directory.h:9
u64 inode
Definition directory.h:10
u16 size
Definition directory.h:12
MetadataType type
Definition directory.h:13
u8 name_length
Definition directory.h:14
u64 offset
Definition directory.h:11
auto name() const -> di::TransparentStringView
Definition directory.h:16