MCPcopy 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

registerCacheRoutesFunction · 0.65
assertDataDirCompatibleFunction · 0.65
snapshotPathProviderFunction · 0.65
service.test.tsFile · 0.65
deleteSessionFunction · 0.65
cli.tsFile · 0.65

Implementers 3

NodePathProviderpackages/node-runtime/src/node-path-pr
StaticPathProviderpackages/node-runtime/src/semantic-ind
ElectronPathProviderapps/desktop/main/electron-path-provid

Calls

no outgoing calls

Tested by

no test coverage detected