MCPcopy
hub / github.com/google/zx / pipe

Function pipe

src/core.ts:601–609  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

599 // Piping
600 // prettier-ignore
601 get pipe(): PipeMethod & {
602 [key in keyof TSpawnStore]: PipeMethod
603 } {
604 const getPipeMethod = (kind: keyof TSpawnStore) => this._pipe.bind(this, kind) as PipeMethod
605 const stdout = getPipeMethod('stdout')
606 const stderr = getPipeMethod('stderr')
607 const stdall = getPipeMethod('stdall')
608 return Object.assign(stdout, { stdout, stderr, stdall })
609 }
610
611 unpipe(to?: PipeAcceptor): this {
612 ProcessPromise.bus.unpipe(this, to)

Callers

nothing calls this directly

Calls 2

getPipeMethodFunction · 0.85
getMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…