Skip to content

ludus::foundation::filesystem::MemoryEntry

Ludus Wiki · API overview · Browse API

Struct

Borrowed memory-provider input; creation copies both path and bytes.

Declared in modules/foundation/filesystem/include/ludus/foundation/filesystem/namespace.hpp

#include <ludus/foundation/filesystem/namespace.hpp>
struct ludus::foundation::filesystem::MemoryEntry final

Fields

Path

std::string_view ludus::foundation::filesystem::MemoryEntry::Path
ValidPath key, compared byte-exactly.

Declared in modules/foundation/filesystem/include/ludus/foundation/filesystem/namespace.hpp

Bytes

std::span<const uint8> ludus::foundation::filesystem::MemoryEntry::Bytes
Immutable source bytes; an empty file is valid.

Related types: uint8

Declared in modules/foundation/filesystem/include/ludus/foundation/filesystem/namespace.hpp