MCPcopy 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 */
31function getDbDir(): string {
32 return getPathProvider().getDatabaseDir()
33}
34
35/**
36 * 确保数据库目录存在

Callers 4

ensureDbDirFunction · 0.70
getDbPathFunction · 0.70
getDbDirectoryFunction · 0.70
checkMigrationNeededFunction · 0.70

Calls 2

getPathProviderFunction · 0.90
getDatabaseDirMethod · 0.65

Tested by

no test coverage detected