(bytes: Uint8Array)
| 24 | } |
| 25 | |
| 26 | function 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 | |
| 32 | function deepChildPath(depth: number): string { |
| 33 | return `/dst/${Array.from({ length: depth }, () => "d").join("/")}/old.txt`; |
no test coverage detected