Expand description
Reading the metadata block of a source document.
A thin reading layer over prov::Document: rendering only ever reads
frontmatter, so the write half — serialize, set or remove a property, splice
a body — has no counterpart here. A caller that needs it has prov’s editor.
Structs§
- Parsed
File - A document split into its metadata mapping and its body.
Functions§
- get_
string - A string-valued property, when present and actually a string.
- get_
string_ array - A sequence-valued property, as its string elements. Empty when the key is absent, is not a sequence, or holds no strings.
- parse_
or_ empty - Parse a document, treating “no metadata block” as an empty one.