spudplate
Template scaffolding compiler for spudlang .spud files
Loading...
Searching...
No Matches
spudplate::SpudpackAsset Struct Reference

One bundled asset entry inside a spudpack. More...

#include <spudpack.h>

Public Attributes

std::string path
 Normalised asset path inside the pack.
 
std::uint16_t mode
 POSIX mode bits, masked to 0o0777.
 
std::vector< std::uint8_t > data
 Raw asset bytes; empty for an empty leaf directory.
 

Detailed Description

One bundled asset entry inside a spudpack.

path is normalised - forward-slash separators, no leading /, no . or .. segments, no embedded NUL. A trailing / means "empty leaf directory" and the corresponding data is empty.