(host: string, workspaceName?: string)
| 15 | * otherwise falls back to the raw host (non-Coder SSH or already-normalized). |
| 16 | */ |
| 17 | export function resolveCoderSSHHost(host: string, workspaceName?: string): string { |
| 18 | const name = workspaceName?.trim(); |
| 19 | return name ? toMuxCoderHost(name) : host; |
| 20 | } |
| 21 | |
| 22 | export const MUX_CODER_SSH_BLOCK_START = "# --- START MUX CODER SSH ---"; |
| 23 | export const MUX_CODER_SSH_BLOCK_END = "# --- END MUX CODER SSH ---"; |
no test coverage detected