Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NsLearning/LangHelper
/ platform
Function
platform
ChatGPT/src-tauri/src/scripts/core.js:62–67 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
60
}
61
62
async
function
platform() {
63
return
invoke(
'platform'
, {
64
__tauriModule:
'Os'
,
65
message: { cmd:
'platform'
}
66
});
67
}
68
69
if
(__TAURI_METADATA__.__currentWindow.label !==
'tray'
) {
70
const
_platform =
await
platform();
Callers
2
General
Function · 0.85
init
Function · 0.85
Calls
1
invoke
Function · 0.85
Tested by
no test coverage detected