verify_integrity#

barecat.Index.verify_integrity()[source]#

Verify the integrity of the index.

This method checks if the number of files, number of subdirectories, size of the directory tree, and number of files in the directory tree are correct. It also checks the integrity of the SQLite database.

Returns:

True if no problems are found, False otherwise.