pub fn load_file<P: AsRef<Path>>(path: P) -> Result<LoadedSpec>Expand description
Load a single .unit.spec file
Returns the parsed SpecStruct with its source file information. Performs UTF-8 validation before YAML parsing.
pub fn load_file<P: AsRef<Path>>(path: P) -> Result<LoadedSpec>Load a single .unit.spec file
Returns the parsed SpecStruct with its source file information. Performs UTF-8 validation before YAML parsing.