MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / getSystemDataDir

Function getSystemDataDir

apps/desktop/main/paths.ts:64–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62 * 获取系统数据根目录(固定 ~/.chatlab/)
63 */
64export function getSystemDataDir(): string {
65 if (_systemDataDir) return _systemDataDir
66 _systemDataDir = path.join(os.homedir(), '.chatlab')
67 return _systemDataDir
68}
69
70/**
71 * 获取用户数据根目录(可配置)

Callers 12

initMethod · 0.90
getServiceFunction · 0.90
getSystemDirMethod · 0.90
getNlpDirFunction · 0.90
ensureInstancesFunction · 0.90
getAiDataDirFunction · 0.85
getSettingsDirFunction · 0.85
getCacheDirFunction · 0.85
getTempDirFunction · 0.85
getLogsDirFunction · 0.85
ensureAppDirsFunction · 0.85
migrateToUnifiedDirsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected