Struct shtola::IR [−][src]
pub struct IR {
pub files: HashMap<PathBuf, ShFile>,
pub config: Config,
pub metadata: HashMap<String, Value>,
}
Expand description
The intermediate representation that’s passed to plugins. Includes global metadata, the files with frontmatter and the global config.
Fields
files: HashMap<PathBuf, ShFile>
The filestate, contained in a HashMap
.
config: Config
The configuration.
metadata: HashMap<String, Value>
Global metadata managed as a HashMap
that keep JSON values as values.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more