(p: string)
| 8428 | opts: { offset?: number; limit?: number; symbolsOnly?: boolean } = {}, |
| 8429 | ): Promise<ToolResult> { |
| 8430 | const normalize = (p: string) => p.replace(/\\/g, '/').replace(/^(?:\.?\/+)+/, '').replace(/\/+$/, ''); |
| 8431 | const allFiles = cg.getFiles(); |
| 8432 | if (allFiles.length === 0) return this.textResult('No files indexed. Run `codegraph index` first.'); |
| 8433 |
no outgoing calls