(filePath: string, data: JsonMcpConfig)
| 153 | } |
| 154 | |
| 155 | async function writeJsonConfig(filePath: string, data: JsonMcpConfig): Promise<void> { |
| 156 | await fsp.mkdir(path.dirname(filePath), { recursive: true }) |
| 157 | await fsp.writeFile(filePath, JSON.stringify(data, null, 2) + '\n', 'utf8') |
| 158 | } |
| 159 | |
| 160 | function entriesEqual(a: JsonMcpEntry | undefined, b: JsonMcpEntry): boolean { |
| 161 | if (!a) return false |
no outgoing calls
no test coverage detected