MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / getProjectRoot

Method getProjectRoot

src/resolution/types.ts:161–161  ·  view source on GitHub ↗

Get project root

()

Source from the content-addressed store, hash-verified

159 getMethodMatches?(typeName: string, methodName: string, language: Language): Node[];
160 /** Get project root */
161 getProjectRoot(): string;
162 /** Get all files */
163 getAllFiles(): string[];
164 /** Get nodes by lowercase name (O(1) lookup for fuzzy matching) */

Callers 15

resolveRelativeImportFunction · 0.65
ownConfigCandidatesFunction · 0.65
resolvePhpIncludePathFunction · 0.65
projectOfDirFunction · 0.65
projectInfoFunction · 0.65
adapterFunction · 0.65
routeTableFunction · 0.65
openProjectRootMethod · 0.65
awaitIndexRecoveryMethod · 0.65
worktreeMismatchForMethod · 0.65
isFileStaleOnDiskMethod · 0.65

Calls

no outgoing calls

Tested by 2

reindexFromScratchFunction · 0.52
reindexFromScratchFunction · 0.52