Skip to main content

run_init_state

Function run_init_state 

Source
pub(crate) fn run_init_state(config_path: PathBuf)
Expand description

Explicitly initialize a fresh state directory (F04). Initialization is the operator’s acknowledgment that the directory is new: an existing state file or any recovery material in the directory is refused. There is no --force reset; recovery means restoring marks and snapshots together.