Function create_db_version_file

Source
pub fn create_db_version_file<P>(db_path: P) -> Result<(), Error>
where P: AsRef<Path>,
Available on crate feature provider only.
Expand description

Creates a database version file with DB_VERSION_FILE_NAME name containing DB_VERSION string.

This function will create a file if it does not exist, and will entirely replace its contents if it does.