MCPcopy
hub / github.com/jesseduffield/lazygit / Write

Method Write

pkg/commands/oscommands/cmd_obj_runner.go:457–461  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

455}
456
457func (b *Buffer) Write(p []byte) (n int, err error) {
458 b.m.Lock()
459 defer b.m.Unlock()
460 return b.b.Write(p)
461}
462
463func (self *cmdObjRunner) getCmdHandlerNonPty(cmd *exec.Cmd) (*cmdHandler, error) {
464 stdoutReader, stdoutWriter := io.Pipe()

Callers 3

runAndStreamAuxMethod · 0.45
processOutputMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected