(
host: string,
fingerprint: string,
cancelToken?: vscode.CancellationToken
)
| 111 | const continueConfirmationPlaceholder: string = localize('ssh.continue.confirmation.placeholder', 'Are you sure you want to continue?'); |
| 112 | |
| 113 | export async function showHostKeyConfirmation( |
| 114 | host: string, |
| 115 | fingerprint: string, |
| 116 | cancelToken?: vscode.CancellationToken |
| 117 | ): Promise<string | undefined> { |
| 118 | return showConfirmationPicker( |
| 119 | localize('ssh.host.key.confirmation.title', '"{0}" has fingerprint "{1}".', host, fingerprint), |
| 120 | continueConfirmationPlaceholder, |
| 121 | cancelToken |
| 122 | ); |
| 123 | } |
| 124 | |
| 125 | export async function showDifferingHostConfirmation( |
| 126 | message: string, |
nothing calls this directly
no test coverage detected