Skip to main content

packaged_artifact_root_matches

Function packaged_artifact_root_matches 

Source
pub fn packaged_artifact_root_matches(app_root: &Path, target_id: &str) -> bool
Expand description

Returns whether a packaged artifact root matches the expected app identity.

§Parameters

§Returns

Returns true when the condition checked by crate::runtime::packaged_artifact_root_matches holds and false otherwise.

§Examples

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