MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / isOctetStream

Function isOctetStream

packages/plugins/openapi/src/sdk/invoke.ts:211–212  ·  view source on GitHub ↗
(ct: string | null | undefined)

Source from the content-addressed store, hash-verified

209 normalizeContentType(ct).startsWith("text/");
210
211const isOctetStream = (ct: string | null | undefined): boolean =>
212 normalizeContentType(ct) === "application/octet-stream";
213
214const decodeJsonLine = Schema.decodeUnknownExit(Schema.fromJsonString(Schema.Unknown));
215

Callers 3

applyRequestBodyFunction · 0.85
acceptedArgumentNamesFunction · 0.85
invoke.tsFile · 0.85

Calls 1

normalizeContentTypeFunction · 0.85

Tested by

no test coverage detected