Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/experdot/pointer
/ getAppDataPath
Function
getAppDataPath
src/main/fsHandlers.ts:14–16 ·
view source on GitHub ↗
* 获取应用数据目录路径
()
Source
from the content-addressed store, hash-verified
12
* 获取应用数据目录路径
13
*/
14
function
getAppDataPath(): string {
15
return
app.getPath(
'userData'
)
16
}
17
18
/**
19
* 验证路径是否在允许的目录内
Callers
1
setupFileSystemHandlers
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected