Skip to main content

yaml_join_relative_path

Function yaml_join_relative_path 

Source
pub fn yaml_join_relative_path(
    base_file_path: &str,
    relative_path: &str,
) -> Option<String>
Expand description

Resolves a safe include path relative to a YAML source file.

§Parameters

§Returns

Returns Some when crate::declarative::yaml_join_relative_path can produce a value and None otherwise.

§Examples

ⓘ
let _result = pharos_runtime_compiler::declarative::yaml_join_relative_path(todo!(), "page");