MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / sha256

Function sha256

apps/kimi-code/test/native/web-assets.test.ts:16–18  ·  view source on GitHub ↗
(bytes: Buffer | string)

Source from the content-addressed store, hash-verified

14} from '#/native/web-assets';
15
16function sha256(bytes: Buffer | string): string {
17 return createHash('sha256').update(bytes).digest('hex');
18}
19
20function fakeWebAssets(files: Record<string, string>): {
21 manifest: WebAssetManifest;

Callers 1

fakeWebAssetsFunction · 0.70

Calls 1

updateMethod · 0.65

Tested by

no test coverage detected