Skip to main content

runtime_app_directory_matches_id

Function runtime_app_directory_matches_id 

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

Confirms that an app directory manifest identifies the expected app.

§Parameters

§Returns

Returns true when the condition checked by crate::binaries::runtime_app_directory_matches_id holds and false otherwise.

§Examples

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