Skip to main content

init_data_dir_scope

Function init_data_dir_scope 

Source
pub fn init_data_dir_scope(data_path: &Path) -> Result<&'static VolumeScope>
Expand description

Tie this process’s volumes to data_path. Called once by the server in persistent mode, before any container runtime is built. A later call returns the scope already in place (it can’t change under volumes already named for it).