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

Function isDisturbed

out/cli.cjs:47994–47996  ·  view source on GitHub ↗
(body)

Source from the content-addressed store, hash-verified

47992 }
47993 }
47994 function isDisturbed(body) {
47995 return !!(body && (stream4.isDisturbed ? stream4.isDisturbed(body) || body[kBodyUsed] : body[kBodyUsed] || body.readableDidRead || body._readableState && body._readableState.dataEmitted || isReadableAborted(body)));
47996 }
47997 function isErrored(body) {
47998 return !!(body && (stream4.isErrored ? stream4.isErrored(body) : /state: 'errored'/.test(
47999 nodeUtil.inspect(body)

Callers 3

onErrorMethod · 0.85
onRetryMethod · 0.85
putMethod · 0.85

Calls 1

isReadableAbortedFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…