Skip to main content

Function: cleanupDatabaseLockArtifacts()

function cleanupDatabaseLockArtifacts(
dbPath: string
): DatabaseLockCleanupResult;

Defined in: electron/services/database/utils/maintenance/databaseLockRecovery.ts:245

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.