Function zebra_state::config::check_and_delete_database

source ยท
fn check_and_delete_database(
    config: &Config,
    major_version: u64,
    entry: &DirEntry,
) -> Option<PathBuf>
Expand description

Check if entry is an old database directory, and delete it from the filesystem. See check_and_delete_old_databases for details.

If the directory was deleted, returns its path.