pub fn match_app_root_in_directory(
base_dir: &Path,
target_id: &str,
) -> Option<String>Expand description
Finds an app root in one directory tree by matching app_id from the manifest.
§Parameters
base_dir: Input consumed bycrate::config::match_app_root_in_directory.target_id: Input consumed bycrate::config::match_app_root_in_directory.
§Returns
Returns Some when crate::config::match_app_root_in_directory can produce a value and None otherwise.
§Performance
Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::config::match_app_root_in_directory.
§Examples
ⓘ
let _result = pharos_runtime_core::config::match_app_root_in_directory(std::path::Path::new("apps"), "dev_docs");§Related
crate::configfor adjacent helpers that share the same runtime surface.