Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/colbymchenry/codegraph
/ dominant-file-cache.test.ts
File
dominant-file-cache.test.ts
__tests__/dominant-file-cache.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/**
2
* getDominantFile() is computed once per database state (#1864).
3
*
4
* The dominant-file heuristic (context ranking's core-directory boost) is a
Callers
nothing calls this directly
Calls
15
getDatabasePath
Function · 0.90
describe
Function · 0.85
spyCompute
Function · 0.85
getDominantFile
Method · 0.80
getDb
Method · 0.80
map
Method · 0.80
push
Method · 0.80
rebind
Method · 0.80
recreate
Method · 0.80
reopenIfReplaced
Method · 0.80
setup
Function · 0.70
queriesOf
Function · 0.70
Tested by
no test coverage detected