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

Method locked

out/cli.cjs:12141–12146  ·  view source on GitHub ↗

* Returns whether or not the writable stream is locked to a writer.

()

Source from the content-addressed store, hash-verified

12139 * Returns whether or not the writable stream is locked to a writer.
12140 */
12141 get locked() {
12142 if (!IsWritableStream(this)) {
12143 throw streamBrandCheckException$2("locked");
12144 }
12145 return IsWritableStreamLocked(this);
12146 }
12147 /**
12148 * Aborts the stream, signaling that the producer can no longer successfully write to the stream and it is to be
12149 * immediately moved to an errored state, with any queued-up writes discarded. This will also execute any abort

Callers

nothing calls this directly

Calls 3

IsWritableStreamFunction · 0.85
IsWritableStreamLockedFunction · 0.85

Tested by

no test coverage detected