MCPcopy Index your code
hub / github.com/sinclairtarget/git-who / StdinWriter

Method StdinWriter

internal/git/cmd/subprocess.go:43–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41}
42
43func (s Subprocess) StdinWriter() (_ *bufio.Writer, closer func() error) {
44 return bufio.NewWriter(s.stdin), func() error {
45 return s.stdin.Close()
46 }
47}
48
49func (s Subprocess) StdoutText() (string, error) {
50 b, err := io.ReadAll(s.stdout)

Callers 1

runWorkerFunction · 0.80

Calls 1

CloseMethod · 0.65

Tested by

no test coverage detected