Skip to main content

normalize_base_path

Function normalize_base_path 

Source
pub fn normalize_base_path(raw_value: Option<&str>) -> Option<String>
Expand description

Normalizes base path.

§Parameters

§Returns

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

§Examples

ⓘ
let _result = pharos_runtime_core::config::normalize_base_path("logs/app.log");
  • crate::config for adjacent helpers that share the same runtime surface.