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

Function getFilePath

packages/opencode/src/lsp/client.ts:71–74  ·  view source on GitHub ↗
(uri: string)

Source from the content-addressed store, hash-verified

69}
70
71function getFilePath(uri: string) {
72 if (!uri.startsWith("file://")) return
73 return Filesystem.normalizePath(fileURLToPath(uri))
74}
75
76function getSyncKind(capabilities?: ServerCapabilities) {
77 if (!capabilities) return

Callers 3

createFunction · 0.85
requestDiagnosticReportFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected