Skip to main content

inspect_app_artifact_json

Function inspect_app_artifact_json 

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

Builds an inspection report for one app artifact tree.

§Parameters

§Returns

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

§Errors

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

§Performance

Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::inspect_app_artifact_json.

§Examples

ⓘ
let _result = pharos_native::runtime::inspect_app_artifact_json(std::path::Path::new("build/dev_docs"));
  • crate::runtime for adjacent helpers that share the same runtime surface.