Skip to main content

default_state_root

Function default_state_root 

Source
pub fn default_state_root(env: &dyn Fn(&str) -> Option<String>) -> PathBuf
Expand description

The legacy pure state-directory calculation retained for source compatibility.

This helper does not resolve the operating system’s home directory and can return a relative path. Production storage uses the fallible microvms_edges::names::state_root resolver, re-exported by microvms_core::names, instead.