Skip to main content

generated_ownership_manifest_matches_source_digest

Function generated_ownership_manifest_matches_source_digest 

Source
fn generated_ownership_manifest_matches_source_digest(
    artifact_root: &Path,
    source_digest: &str,
) -> bool
Expand description

Builds an app from its source root into a runtime artifact.

§Parameters

§Returns

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

§Errors

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

§Performance

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

§Examples

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