MCPcopy Create free account
hub / github.com/Noumena-Network/code / getPath

Function getPath

src/tools/LSPTool/LSPTool.ts:152–154  ·  view source on GitHub ↗
({ filePath })

Source from the content-addressed store, hash-verified

150 return true
151 },
152 getPath({ filePath }): string {
153 return expandPath(filePath)
154 },
155 async validateInput(input: Input): Promise<ValidationResult> {
156 // First validate against the discriminated union for better type safety
157 const parseResult = lspToolInputSchema().safeParse(input)

Callers

nothing calls this directly

Calls 1

expandPathFunction · 0.85

Tested by

no test coverage detected