Skip to main content

output_path_check_json

Function output_path_check_json 

Source
pub fn output_path_check_json(path: &Path) -> Result<String, &'static str>
Expand description

Checks one output path and returns its bounded JSON disposition.

§Parameters

§Returns

Returns the successful value produced by crate::runtime::ops_bridge::output_path_check_json or an error when the operation fails.

§Errors

Returns an error value when crate::runtime::ops_bridge::output_path_check_json cannot complete successfully.

§Examples

ⓘ
let _result = pharos_native::runtime::ops_bridge::output_path_check_json(std::path::Path::new("fixture.json"));