verify_grovedb

Function verify_grovedb 

Source
pub fn verify_grovedb(db_path: &PathBuf, force: bool) -> Result<(), String>
Expand description

Verify GroveDB integrity.

This function will execute GroveDB integrity checks if one of the following conditions is met:

  • force is true
  • file .fsck in db_path exists

After successful verification, .fsck file is removed.