Skip to main content

dynamic_config_resolve_value

Function dynamic_config_resolve_value 

Source
pub fn dynamic_config_resolve_value(
    conf_path: &Path,
    key: &str,
    raw_value: &str,
) -> Option<String>
Expand description

Performs dynamic config resolve value.

§Parameters

§Returns

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

§Examples

ⓘ
let _result = pharos_runtime_core::config::dynamic_config_resolve_value(std::path::Path::new("app.conf"), "key", "logs/app.log");
  • crate::config for adjacent helpers that share the same runtime surface.