MCPcopy Create free account
hub / github.com/cloudflare/computer / hex

Function hex

packages/dofs/src/sync/apply.test.ts:26–30  ·  view source on GitHub ↗
(bytes: Uint8Array)

Source from the content-addressed store, hash-verified

24}
25
26function hex(bytes: Uint8Array): string {
27 let s = "";
28 for (let i = 0; i < bytes.byteLength; i++) s += bytes[i].toString(16).padStart(2, "0");
29 return s;
30}
31
32function deepChildPath(depth: number): string {
33 return `/dst/${Array.from({ length: depth }, () => "d").join("/")}/old.txt`;

Callers 1

collectObjectsFunction · 0.70

Calls 1

toStringMethod · 0.65

Tested by

no test coverage detected