MCPcopy 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

14const WEB_ASSETS_DIR = 'dist-web';
15
16function toPosixPath(path) {
17 return path.split('\\').join('/');
18}
19
20function sha256(bytes) {
21 return createHash('sha256').update(bytes).digest('hex');

Callers 1

collectAssetRootFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected