MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / isUploadable

Function isUploadable

out/cli.cjs:80375–80377  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

80373 }
80374 };
80375}
80376
80377// node_modules/openai/uploads.mjs
80378var isResponseLike2 = (value) => value != null && typeof value === "object" && typeof value.url === "string" && typeof value.blob === "function";
80379var isFileLike3 = (value) => value != null && typeof value === "object" && typeof value.name === "string" && typeof value.lastModified === "number" && isBlobLike2(value);
80380var isBlobLike2 = (value) => value != null && typeof value === "object" && typeof value.size === "number" && typeof value.type === "string" && typeof value.text === "function" && typeof value.slice === "function" && typeof value.arrayBuffer === "function";

Callers 1

addFormValueFunction · 0.85

Calls 2

isFileLike3Function · 0.85
isResponseLike2Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…