Skip to main content

default_backend

Function default_backend 

Source
pub fn default_backend(
    app_root: &Path,
    runtime_conf_path: Option<&Path>,
) -> Option<String>
Expand description

Resolves an explicitly configured database backend.

§Parameters

§Returns

Returns Some when crate::runtime::ops_bridge::default_backend can produce a value and None otherwise.

§Examples

ⓘ
let _result = pharos_native::runtime::ops_bridge::default_backend(std::path::Path::new("apps/dev_docs"), todo!());