Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ChatLab/ChatLab
/ getDbDirectory
Function
getDbDirectory
apps/desktop/main/database/core.ts:207–210 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
205
* 获取数据库存储目录
206
*/
207
export
function
getDbDirectory(): string {
208
ensureDbDir()
209
return
getDbDir()
210
}
211
212
/**
213
* 检查是否有数据库需要迁移
Callers
nothing calls this directly
Calls
2
ensureDbDir
Function · 0.85
getDbDir
Function · 0.70
Tested by
no test coverage detected