Skip to main content

app_local_conf_path

Function app_local_conf_path 

Source
pub fn app_local_conf_path(app_root: &Path) -> Option<PathBuf>
Expand description

Returns the app.conf path for an app when the file exists.

§Parameters

§Returns

Returns Some when crate::config::app_local_conf_path can produce a value and None otherwise.

§Examples

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