git-lfs/subprocess/buffered_cmd.go

20 lines
258 B
Go
Raw Normal View History

package subprocess
import (
"bufio"
"io"
)
const (
// stdoutBufSize is the size of the buffers given to a sub-process stdout
stdoutBufSize = 16384
)
type BufferedCmd struct {
*Cmd
Stdin io.WriteCloser
Stdout *bufio.Reader
Stderr *bufio.Reader
}