(rootPath: string)
| 42 | } |
| 43 | |
| 44 | export function makeLegacyPaths(rootPath: string) { |
| 45 | return { |
| 46 | intelligence: path.join(rootPath, '.codebase-intelligence.json'), |
| 47 | keywordIndex: path.join(rootPath, '.codebase-index.json'), |
| 48 | vectorDb: path.join(rootPath, '.codebase-index') |
| 49 | }; |
| 50 | } |
| 51 | |
| 52 | export function normalizeRootKey(rootPath: string): string { |
| 53 | let normalized = path.resolve(rootPath); |
no outgoing calls
no test coverage detected