Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChatLab/ChatLab
/ getUserDataDir
Method
getUserDataDir
packages/core/src/interfaces/path-provider.ts:30–30 ·
view source on GitHub ↗
用户数据根目录(可配置)
()
Source
from the content-addressed store, hash-verified
28
29
/** 用户数据根目录(可配置) */
30
getUserDataDir(): string
31
32
/** 数据库文件目录(存放 {uuid}.db),基于 userDataDir */
33
getDatabaseDir(): string
Callers
14
registerCacheRoutes
Function · 0.65
assertDataDirCompatible
Function · 0.65
raiseDataDirMinRuntimeVersion
Function · 0.65
deleteSessionDatabaseFiles
Method · 0.65
snapshotPathProvider
Function · 0.65
resolveContactsSnapshotDir
Function · 0.65
service.test.ts
File · 0.65
getSnapshotForResponse
Method · 0.65
resolvePeopleRelationshipsSnapshotDir
Function · 0.65
database-manager-adapter.test.ts
File · 0.65
deleteSession
Function · 0.65
cli.ts
File · 0.65
Implementers
3
NodePathProvider
packages/node-runtime/src/node-path-pr
StaticPathProvider
packages/node-runtime/src/semantic-ind
ElectronPathProvider
apps/desktop/main/electron-path-provid
Calls
no outgoing calls
Tested by
no test coverage detected