Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ChatLab/ChatLab
/ getDefaultUserDataDir
Function
getDefaultUserDataDir
apps/desktop/main/paths.ts:98–100 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
96
}
97
98
export
function
getDefaultUserDataDir(): string {
99
return
path.join(os.homedir(),
'.chatlab'
,
'data'
)
100
}
101
102
// ==================== 旧版路径(迁移兼容) ====================
103
Callers
4
getUserDataDir
Function · 0.85
setCustomDataDir
Function · 0.85
needsUnifiedDirMigration
Function · 0.85
startInternalServer
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected