MCPcopy Index your code
hub / github.com/anomalyco/opencode / roslynLanguageServerGlobalPath

Function roslynLanguageServerGlobalPath

packages/opencode/src/lsp/server.ts:777–785  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

775}
776
777async function roslynLanguageServerGlobalPath() {
778 const bin = path.join(
779 process.env.DOTNET_CLI_HOME ?? os.homedir(),
780 ".dotnet",
781 "tools",
782 "roslyn-language-server" + (process.platform === "win32" ? ".cmd" : ""),
783 )
784 return (await pathExists(bin)) ? bin : undefined
785}
786
787async function findVscodeRazorExtension() {
788 const roots = [

Callers 2

getRoslynLanguageServerFunction · 0.85

Calls 1

pathExistsFunction · 0.85

Tested by

no test coverage detected