pub struct Request {
pub key: String,
pub bytes: String,
pub owner: String,
pub source: String,
pub identity: String,
pub proposal: Proposal,
pub ext: String,
pub svg_alt: bool,
pub copy: bool,
pub output: Output,
}Expand description
One resource to name.
Fields§
§key: StringPerl’s cache key (ref($self):reldir/name.srctype.type|transform) with the source’s content digest.
bytes: StringWhat the destination file’s bytes are made of (the source’s bytes, page, type, crop and turn; a size only where a vector render’s root carries it): requests with the same bytes share one file.
owner: StringWho owns the names the request is given: its source, transform and type, so an edited source keeps them.
source: StringThe source, relative to the destination directory, kept with the names it owns (Checks::vouch).
identity: StringThe source’s content digest (hex), or its path when unreadable.
proposal: Proposal§ext: StringThe destination’s file type (extension), empty for none.
svg_alt: boolA vector render <name>.svg may be written beside it, so that name is claimed too.
copy: boolA copy (named after the conversions of its page when it cannot keep its path) or a conversion.
output: OutputWhat the destination file will hold (Checks::on_disk).