(path: string, actual: number, expected: number)
| 736 | const unsupported = (message: string) => new ZipError({ kind: "Unsupported", message }) |
| 737 | |
| 738 | const sizeMismatch = (path: string, actual: number, expected: number) => |
| 739 | new ZipError({ |
| 740 | kind: "SizeMismatch", |
| 741 | message: `body of ${JSON.stringify(path)} has ${ |
| 742 | actual > expected ? "at least" : "only" |
| 743 | } ${actual} bytes, but its size is ${expected}` |
| 744 | }) |
| 745 | |
| 746 | const LOCAL = 0x04034b50 |
| 747 | const CENTRAL = 0x02014b50 |
no outgoing calls
no test coverage detected