Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/colbymchenry/codegraph
/ db-reopen-on-replace.test.ts
File
db-reopen-on-replace.test.ts
__tests__/db-reopen-on-replace.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/**
2
* Deleted-but-open DB inode self-heal (issue #925).
3
*
4
* A long-lived process (the MCP daemon) opens `.codegraph/codegraph.db` and
Callers
nothing calls this directly
Calls
13
getCodeGraphDir
Function · 0.90
describe
Function · 0.85
isReplacedOnDisk
Method · 0.80
initSync
Method · 0.80
reopenIfReplaced
Method · 0.80
close
Method · 0.65
searchNodes
Method · 0.65
join
Method · 0.45
initialize
Method · 0.45
indexAll
Method · 0.45
openSync
Method · 0.45
clear
Method · 0.45
Tested by
no test coverage detected