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

Function isOctetStream

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

Source from the content-addressed store, hash-verified

216 normalizeContentType(ct).startsWith("text/");
217
218const isOctetStream = (ct: string | null | undefined): boolean =>
219 normalizeContentType(ct) === "application/octet-stream";
220
221const decodeJsonLine = Schema.decodeUnknownExit(Schema.fromJsonString(Schema.Unknown));
222

Callers 3

applyRequestBodyFunction · 0.85
acceptedArgumentNamesFunction · 0.85
invoke.tsFile · 0.85

Calls 1

normalizeContentTypeFunction · 0.85

Tested by

no test coverage detected