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

Function isErrored

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

Source from the content-addressed store, hash-verified

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)
48000 )));
48001 }
48002 function isReadable(body) {
48003 return !!(body && (stream4.isReadable ? stream4.isReadable(body) : /state: 'readable'/.test(
48004 nodeUtil.inspect(body)

Callers 2

pullFunction · 0.85
httpNetworkFetchFunction · 0.85

Calls 1

testMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…