Skip to main content

render_app_empty_fragment

Function render_app_empty_fragment 

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

Renders a shared empty fragment through the declared application template.

§Parameters

§Returns

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

§Examples

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