Skip to main content

declarative_source_derive_generated_admin_routes

Function declarative_source_derive_generated_admin_routes 

Source
pub fn declarative_source_derive_generated_admin_routes(
    artifact_dir: &Path,
) -> Option<usize>
Expand description

Derives missing generated-admin child routes and writes the route artifact.

§Parameters

§Returns

Returns Some when crate::declarative::declarative_source_derive_generated_admin_routes 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::declarative::declarative_source_derive_generated_admin_routes.

§Examples

ⓘ
let _result = pharos_runtime_compiler::declarative::declarative_source_derive_generated_admin_routes(std::path::Path::new("build/dev_docs"));