MCPcopy Create free account
hub / github.com/scriptscat/scriptcat / toBlob

Method toBlob

src/pkg/utils/jszip-x.ts:69–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67 }
68
69 private async toBlob(): Promise<Blob> {
70 if (typeof Blob !== "undefined" && this.content instanceof Blob) {
71 return this.content;
72 }
73 return new Blob([await this.toUint8Array()]);
74 }
75}
76
77export class JSZippZipFile {

Callers 1

asyncMethod · 0.95

Calls 1

toUint8ArrayMethod · 0.95

Tested by

no test coverage detected