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

Function getKnownRootPaths

src/index.ts:231–235  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

229}
230
231function getKnownRootPaths(): string[] {
232 return Array.from(knownRoots.values())
233 .map((entry) => entry.rootPath)
234 .sort((a, b) => a.localeCompare(b));
235}
236
237function getKnownRootLabel(rootPath: string): string | undefined {
238 return knownRoots.get(normalizeRootKey(rootPath))?.label;

Callers 8

getContainingKnownRootFunction · 0.85
listProjectDescriptorsFunction · 0.85
resolveProjectSelectorFunction · 0.85
mainFunction · 0.85
startHttpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected