github.com/git-lfs/git-lfs@v2.5.2+incompatible/subprocess/buffered_cmd.go (about)

     1  package subprocess
     2  
     3  import (
     4  	"bufio"
     5  	"io"
     6  )
     7  
     8  const (
     9  	// stdoutBufSize is the size of the buffers given to a sub-process stdout
    10  	stdoutBufSize = 16384
    11  )
    12  
    13  type BufferedCmd struct {
    14  	*Cmd
    15  
    16  	Stdin  io.WriteCloser
    17  	Stdout *bufio.Reader
    18  	Stderr *bufio.Reader
    19  }