Skip to main content

effective_app_state_path

Function effective_app_state_path 

Source
pub fn effective_app_state_path(
    app_root: &Path,
    build_dir: &Path,
    app_id: &str,
    state_path_override: Option<&str>,
    state_dir_override: Option<&str>,
) -> Option<String>
Expand description

Performs effective app state path.

§Parameters

§Returns

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

§Examples

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