Skip to main content

template_declared_fragment_path

Function template_declared_fragment_path 

Source
pub fn template_declared_fragment_path(
    app_root: &Path,
    fragment_id: &str,
) -> Option<String>
Expand description

Performs template declared fragment path.

§Parameters

§Returns

Returns Some when crate::runtime::json_commands::template_declared_fragment_path can produce a value and None otherwise.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::template_declared_fragment_path(std::path::Path::new("apps/dev_docs"), "header");