Skip to main content

load_blueprint_from_path

Function load_blueprint_from_path 

Source
pub fn load_blueprint_from_path<P: AsRef<Path>>(
    path: P,
) -> Result<Blueprint, LoadError>
Expand description

Load a Blueprint from a file path. Detects JSON vs. YAML by extension, recursively expands $file refs, and parses the result into a typed Blueprint.