Skip to main content

Function: cleanupDatabaseLockArtifacts()

cleanupDatabaseLockArtifacts(dbPath: string): DatabaseLockCleanupResult

Defined in: electron/services/database/utils/databaseLockRecovery.ts:224

Attempts to relocate stale SQLite lock artifacts to a quarantined recovery directory so that initialization can proceed.

Parameters

dbPath

string

Absolute path to the SQLite database file.

Returns

DatabaseLockCleanupResult

Diagnostic information describing relocated, missing, and failed artifacts.