Skip to main content

destroy_options

Function destroy_options 

Source
pub(crate) fn destroy_options(env: &Env) -> Options
Expand description

Options that direct DB::destroy at the given Env.

DB::destroy resolves paths through the Env in its options. Destroying with default options only ever touches the host filesystem, which misses state written through a different Env, like the in-memory Env used by replicas without a scratch directory.