pub fn destroy(
store: &LocalFsStore,
flags: &OpFlags,
env_id: &str,
confirm: bool,
) -> Result<OpOutcome, OpError>Expand description
op env destroy <env_id> --confirm. Removes the env’s on-disk state.
Force-free safety net: the caller must pass confirm = true. The
--confirm flag is the operator-binary’s responsibility; this library
just enforces the gate.