(options: { stateDir: string; session: string })
| 183 | } |
| 184 | |
| 185 | function remoteConnectionStatePath(options: { stateDir: string; session: string }): string { |
| 186 | return path.join( |
| 187 | options.stateDir, |
| 188 | 'remote-connections', |
| 189 | `${safeStateName(options.session)}.json`, |
| 190 | ); |
| 191 | } |
| 192 | |
| 193 | function activeConnectionStatePath(stateDir: string): string { |
| 194 | return path.join(stateDir, 'remote-connections', '.active-session.json'); |
no test coverage detected