Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
10
getCodeGraphDir
Function · 0.90
join
Method · 0.80
isReplacedOnDisk
Method · 0.80
initSync
Method · 0.80
reopenIfReplaced
Method · 0.80
close
Method · 0.65
initialize
Method · 0.45
indexAll
Method · 0.45
searchNodes
Method · 0.45
destroy
Method · 0.45
Tested by
no test coverage detected