Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonshotAI/kimi-code
/ toPosixPath
Function
toPosixPath
apps/kimi-code/scripts/native/web-assets.mjs:16–18 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
14
const
WEB_ASSETS_DIR =
'dist-web'
;
15
16
function
toPosixPath(path) {
17
return
path.split(
'\\'
).join(
'/'
);
18
}
19
20
function
sha256(bytes) {
21
return
createHash(
'sha256'
).update(bytes).digest(
'hex'
);
Callers
1
collectAssetRoot
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected