Function: assertSqliteDatabaseIntegrity()
assertSqliteDatabaseIntegrity(
args: {filePath:string;mode?:SqliteIntegrityCheckMode; }):void
Defined in: electron/services/database/utils/backup/databaseBackup.ts:156
Asserts that the SQLite database file passes an integrity check.
Parameters
args
filePath
string
mode?
Returns
void
Remarks
This is intended for validating untrusted external backups before they are swapped into the live database path.