MCPcopy Index your code
hub / github.com/PatrickSys/codebase-context / makeLegacyPaths

Function makeLegacyPaths

src/project-state.ts:44–50  ·  view source on GitHub ↗
(rootPath: string)

Source from the content-addressed store, hash-verified

42}
43
44export 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
52export function normalizeRootKey(rootPath: string): string {
53 let normalized = path.resolve(rootPath);

Callers 1

ensureProjectInitializedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected