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/assets.mjs:32–34 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
30
}
31
32
function
toPosixPath(path) {
33
return
path.split(
'\\'
).join(
'/'
);
34
}
35
36
function
sha256(bytes) {
37
return
createHash(
'sha256'
).update(bytes).digest(
'hex'
);
Callers
1
packageManifestEntries
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected