MCPcopy Create free account
hub / github.com/alibaba/open-code-review / newOutputPipe

Function newOutputPipe

internal/gitcmd/runner.go:180–186  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

178}
179
180func newOutputPipe() (*outputPipe, error) {
181 r, w, err := os.Pipe()
182 if err != nil {
183 return nil, err
184 }
185 return &outputPipe{r: r, w: w}, nil
186}
187
188// closeWrite drops the parent's copy of the write end so that EOF becomes
189// visible once every child copy is closed.

Callers 2

captureMethod · 0.85
StreamMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected