Skip to main content

emit_service_edit_page

Function emit_service_edit_page 

Source
pub fn emit_service_edit_page(
    root: &Value,
    service_id: i64,
    app_root: &Path,
) -> Option<String>
Expand description

Emits the service-edit page contract.

§Parameters

§Returns

Returns Some when crate::runtime::json_commands::emit_service_edit_page 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::emit_service_edit_page.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::emit_service_edit_page(std::path::Path::new("."), todo!(), std::path::Path::new("apps/dev_docs"));