in src/server/connection-details.ts [20:38]
async getServerConnectionDetails(
bspServerName: string,
repoRoot: string
): Promise<BspConnectionDetails | undefined> {
this.outputChannel.appendLine('Checking BSP connection details.')
const connectInfo = await this.processConnectionDir(bspServerName, repoRoot)
if (connectInfo === undefined) {
this.outputChannel.appendLine(
`Unable to get connection details for ${bspServerName}.`
)
return
}
this.outputChannel.appendLine(
`Found connection details for ${bspServerName} version ${connectInfo.version}`
)
return connectInfo
}