pub fn get_db_version<P>(db_path: P) -> Result<u64, DatabaseVersionError>Available on crate feature
provider only.Expand description
Returns the database version from file with DB_VERSION_FILE_NAME name.
Returns Ok if file is found and contains a valid version.
Otherwise, returns different DatabaseVersionError error variants.