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

Function isOctetStream

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

Source from the content-addressed store, hash-verified

250 normalizeContentType(ct).startsWith("text/");
251
252const isOctetStream = (ct: string | null | undefined): boolean =>
253 normalizeContentType(ct) === "application/octet-stream";
254
255const decodeJsonLine = Schema.decodeUnknownExit(Schema.fromJsonString(Schema.Unknown));
256

Callers 3

applyRequestBodyFunction · 0.85
acceptedArgumentNamesFunction · 0.85
invoke.tsFile · 0.85

Calls 1

normalizeContentTypeFunction · 0.85

Tested by

no test coverage detected