Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/colbymchenry/codegraph
/ getProjectRoot
Method
getProjectRoot
src/graph/file-drift.ts:17–17 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
15
/** What the check reads from an open index. */
16
export
interface
DriftIndex {
17
getProjectRoot(): string;
18
getFile(filePath: string): { size: number; modifiedAt: number; contentHash: string } | null;
19
}
20
Callers
15
openProjectRoot
Method · 0.65
awaitIndexRecovery
Method · 0.65
worktreeMismatchFor
Method · 0.65
isFileStaleOnDisk
Method · 0.65
withStalenessNotice
Method · 0.65
withIndexVersionNotice
Method · 0.65
execute
Method · 0.65
whenLabel
Method · 0.65
testCodeReading
Method · 0.65
handleExplore
Method · 0.65
handleFileView
Method · 0.65
renderStaleNodeSection
Method · 0.65
Implementers
1
CodeGraph
src/index.ts
Calls
no outgoing calls
Tested by
2
reindexFromScratch
Function · 0.52
reindexFromScratch
Function · 0.52