Skip to main content

handle_template_declared_fragment_path_command

Function handle_template_declared_fragment_path_command 

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

Resolves a declared fragment path for a command caller.

§Parameters

§Returns

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

§Examples

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