MCPcopy
hub / github.com/colbymchenry/codegraph / getProjectRoot

Method getProjectRoot

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

Get project root

()

Source from the content-addressed store, hash-verified

77 readFile(filePath: string): string | null;
78 /** Get project root */
79 getProjectRoot(): string;
80 /** Get all files */
81 getAllFiles(): string[];
82 /** Get nodes by lowercase name (O(1) lookup for fuzzy matching) */

Callers 14

resolveImportPathFunction · 0.65
resolveRelativeImportFunction · 0.65
resolvePhpIncludePathFunction · 0.65
rustCrateRootDirFunction · 0.65
resolveRustModuleFileFunction · 0.65
getCodeGraphMethod · 0.65
worktreeMismatchForMethod · 0.65
withStalenessNoticeMethod · 0.65
handleExploreMethod · 0.65
handleFileViewMethod · 0.65
handleStatusMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected