MCPcopy
hub / github.com/di-sukharev/opencommit / append

Method append

out/cli.cjs:68590–68598  ·  view source on GitHub ↗
(name, value, fileName)

Source from the content-addressed store, hash-verified

68588 if (entries) {
68589 deprecateConstructorEntries();
68590 entries.forEach(({ name, value, fileName }) => this.append(name, value, fileName));
68591 }
68592 }
68593 static [(_FormData_entries = /* @__PURE__ */ new WeakMap(), _FormData_instances = /* @__PURE__ */ new WeakSet(), Symbol.hasInstance)](value) {
68594 return Boolean(value && isFunction(value.constructor) && value[Symbol.toStringTag] === "FormData" && isFunction(value.append) && isFunction(value.set) && isFunction(value.get) && isFunction(value.getAll) && isFunction(value.has) && isFunction(value.delete) && isFunction(value.entries) && isFunction(value.values) && isFunction(value.keys) && isFunction(value[Symbol.iterator]) && isFunction(value.forEach));
68595 }
68596 append(name, value, fileName) {
68597 __classPrivateFieldGet3(this, _FormData_instances, "m", _FormData_setEntry).call(this, {
68598 name,
68599 fileName,
68600 append: true,
68601 rawValue: value,

Callers 15

appendMethod · 0.45
constructorMethod · 0.45
constructorMethod · 0.45
filesUploadFunction · 0.45
formDataFunction · 0.45
appendHeaderFunction · 0.45
redirectMethod · 0.45
initializeResponseFunction · 0.45
fetchingFunction · 0.45
httpNetworkOrCacheFetchFunction · 0.45
onHeadersFunction · 0.45

Calls 1

__classPrivateFieldGet3Function · 0.85

Tested by

no test coverage detected