Skip to main content

template_apply_base_path

Function template_apply_base_path 

Source
pub fn template_apply_base_path(
    html: &str,
    base_path: Option<&str>,
) -> Option<String>
Expand description

Performs template apply base path.

§Parameters

§Returns

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

§Performance

Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::json_commands::template_apply_base_path.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::template_apply_base_path(todo!(), "/app");