(sessionPath: string, email: string, isMobile: boolean)
| 107 | |
| 108 | // Unused |
| 109 | export function deleteSession(sessionPath: string, email: string, isMobile: boolean): void { |
| 110 | getDb(sessionPath).prepare('DELETE FROM sessions WHERE email = ? AND platform = ?').run(email, platformOf(isMobile)) |
| 111 | } |
| 112 | |
| 113 | export function closeSessionStore(): void { |
| 114 | if (!db) return |
nothing calls this directly
no test coverage detected