Skip to main content

has_valid_db

Function has_valid_db 

Source
pub fn has_valid_db(path: &Path) -> bool
Expand description

Checks whether a valid (or migratable) database exists at the given path by looking for a metadata.json file with a schema version between 1 and STORE_SCHEMA_VERSION (inclusive).