RuntimeLayout
Module: runtime_paths::RuntimeLayout
Section titled “Module: runtime_paths::RuntimeLayout”Contents
Section titled “Contents”Functions
resolve- Resolve a runtime layout from an optional explicit root and the process
firma_runtime_state::runtime_paths::RuntimeLayout::resolve
Section titled “firma_runtime_state::runtime_paths::RuntimeLayout::resolve”Function
Resolve a runtime layout from an optional explicit root and the process environment.
Resolution order is the explicit root, FIRMA_STATE_DIR, and then the
platform runtime-directory convention.
Errors
Section titled “Errors”Returns an error on Windows when neither LOCALAPPDATA nor TEMP is set.
fn resolve(flag: Option<PathBuf>) -> Result<Self>