MCPcopy Index your code
hub / github.com/scriptscat/scriptcat / blob

Method blob

tests/mocks/request.ts:89–94  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87 }
88
89 async blob(): Promise<Blob> {
90 if (this.bodyUsed) throw new TypeError("Body already consumed");
91 (this as any).bodyUsed = true;
92 // @ts-expect-error
93 return new MockBlob([this.#bytes ?? new Uint8Array(0)]);
94 }
95
96 async formData(): Promise<FormData> {
97 if (this.bodyUsed) throw new TypeError("Body already consumed");

Callers 13

readMethod · 0.45
readMethod · 0.45
readMethod · 0.45
readMethod · 0.45
readMethod · 0.45
fetchDataFunction · 0.45
loadFaviconFunction · 0.45
innerFromBlobUrlFunction · 0.45
dataEncodeFunction · 0.45
CAT_fileStorageMethod · 0.45
initManagerMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected