Skip to main content

dynamic_dispatch_response_file

Function dynamic_dispatch_response_file 

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

Reads a bounded response file below an app artifact root.

§Parameters

§Returns

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

§Examples

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