MCPcopy Create free account
hub / github.com/angular/dev-infra / _write

Method _write

github-actions/saucelabs/set-saucelabs-env.js:17835–17840  ·  view source on GitHub ↗

* @param {Buffer} chunk * @param {() => void} callback

(chunk, _, callback)

Source from the content-addressed store, hash-verified

17833 if (fin) {
17834 __privateGet(this, _inflate).write(tail);
17835 }
17836 __privateGet(this, _inflate).flush(() => {
17837 if (!__privateGet(this, _inflate)) {
17838 return;
17839 }
17840 const full = Buffer.concat(__privateGet(this, _inflate)[kBuffer], __privateGet(this, _inflate)[kLength]);
17841 __privateGet(this, _inflate)[kBuffer].length = 0;
17842 __privateGet(this, _inflate)[kLength] = 0;
17843 callback(null, full);

Callers

nothing calls this directly

Calls 4

__privateGetFunction · 0.70
__privateSetFunction · 0.70
pushMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected