MCPcopy Create free account
hub / github.com/nodejs/node / getFormDataBoundary

Method getFormDataBoundary

deps/undici/undici.js:6288–6292  ·  view source on GitHub ↗

* @param {FormData} formData * @returns {string | null}

(formData)

Source from the content-addressed store, hash-verified

6286 * @returns {string | null}
6287 */
6288 static getFormDataBoundary(formData) {
6289 const boundary = formData.#boundary;
6290 if (boundary != null) return boundary;
6291 return formData.#boundary = `----formdata-undici-0${`${random(1e11)}`.padStart(11, "0")}`;
6292 }
6293 };
6294 var { getFormDataState, setFormDataState, getFormDataBoundary } = FormData;
6295 Reflect.deleteProperty(FormData, "getFormDataState");

Callers

nothing calls this directly

Calls 1

randomFunction · 0.50

Tested by

no test coverage detected