Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ChatLab/ChatLab
/ getDbDir
Function
getDbDir
apps/desktop/main/database/core.ts:31–33 ·
view source on GitHub ↗
* 获取数据库目录
()
Source
from the content-addressed store, hash-verified
29
* 获取数据库目录
30
*/
31
function
getDbDir(): string {
32
return
getPathProvider().getDatabaseDir()
33
}
34
35
/**
36
* 确保数据库目录存在
Callers
4
ensureDbDir
Function · 0.70
getDbPath
Function · 0.70
getDbDirectory
Function · 0.70
checkMigrationNeeded
Function · 0.70
Calls
2
getPathProvider
Function · 0.90
getDatabaseDir
Method · 0.65
Tested by
no test coverage detected