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

Method write

out/cli.cjs:12558–12566  ·  view source on GitHub ↗
(chunk = void 0)

Source from the content-addressed store, hash-verified

12556 WritableStreamDefaultWriterRelease(this);
12557 }
12558 write(chunk = void 0) {
12559 if (!IsWritableStreamDefaultWriter(this)) {
12560 return promiseRejectedWith(defaultWriterBrandCheckException("write"));
12561 }
12562 if (this._ownerWritableStream === void 0) {
12563 return promiseRejectedWith(defaultWriterLockException("write to"));
12564 }
12565 return WritableStreamDefaultWriterWrite(this, chunk);
12566 }
12567 }
12568 Object.defineProperties(WritableStreamDefaultWriter2.prototype, {
12569 abort: { enumerable: true },

Callers

nothing calls this directly

Tested by

no test coverage detected