fn generated_ownership_manifest_matches_source_digest(
artifact_root: &Path,
source_digest: &str,
) -> boolExpand description
Builds an app from its source root into a runtime artifact.
§Parameters
app_root: Input consumed bycrate::runtime::build_app_from_root.build_dir: Input consumed bycrate::runtime::build_app_from_root.
§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"));§Related
crate::runtimefor adjacent helpers that share the same runtime surface.