MCPcopy Create free account
hub / github.com/coder/envbuilder / fakeIO

Function fakeIO

options/options_test.go:209–215  ·  view source on GitHub ↗
(i *serpent.Invocation)

Source from the content-addressed store, hash-verified

207}
208
209func fakeIO(i *serpent.Invocation) *ioBufs {
210 var b ioBufs
211 i.Stdout = &b.Stdout
212 i.Stderr = &b.Stderr
213 i.Stdin = &b.Stdin
214 return &b
215}

Callers 1

runCLIFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected