(rootDir: string, cache: EmbeddingCache)
| 407 | } |
| 408 | |
| 409 | async function saveCache(rootDir: string, cache: EmbeddingCache): Promise<void> { |
| 410 | await saveEmbeddingCache(rootDir, cache, CACHE_FILE); |
| 411 | } |
| 412 | |
| 413 | export async function ensureMcpDataDir(rootDir: string): Promise<void> { |
| 414 | await mkdir(join(rootDir, CACHE_DIR), { recursive: true }); |
no test coverage detected