(callback: (relativePath: string, file: JSZippZipObject) => void)
| 95 | } |
| 96 | |
| 97 | forEach(callback: (relativePath: string, file: JSZippZipObject) => void): void { |
| 98 | for (const [path, file] of Object.entries(this.files)) { |
| 99 | callback(path, file); |
| 100 | } |
| 101 | } |
| 102 | |
| 103 | async loadAsync(content: InputFileFormat): Promise<this> { |
| 104 | const reader: ZipRandomAccessReader = await openZip(await toZipSource(await content), { pathMode: "unsafe" }); |
no test coverage detected