(dir: string, legacySessionID?: string)
| 90 | } |
| 91 | |
| 92 | export function getLegacyTerminalStorageKeys(dir: string, legacySessionID?: string) { |
| 93 | if (!legacySessionID) return [`${dir}/terminal.v1`] |
| 94 | return [`${dir}/terminal/${legacySessionID}.v1`, `${dir}/terminal.v1`] |
| 95 | } |
| 96 | |
| 97 | type TerminalSession = ReturnType<typeof createWorkspaceTerminalSession> |
| 98 |
no outgoing calls
no test coverage detected