(filePath: string)
| 72 | } |
| 73 | |
| 74 | async function pathExists(filePath: string): Promise<boolean> { |
| 75 | try { |
| 76 | await stat(filePath); |
| 77 | return true; |
| 78 | } catch (error: unknown) { |
| 79 | if (isPathMissing(error)) return false; |
| 80 | throw error; |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | interface ReadMcpJsonOptions { |
| 85 | readonly stdioCwdBase?: string; |
no test coverage detected