MCPcopy Index your code
hub / github.com/bitfield/script / Stdin

Function Stdin

script.go:197–199  ·  view source on GitHub ↗

Stdin creates a pipe that reads from [os.Stdin].

()

Source from the content-addressed store, hash-verified

195
196// Stdin creates a pipe that reads from [os.Stdin].
197func Stdin() *Pipe {
198 return NewPipe().WithReader(os.Stdin)
199}
200
201// AppendFile appends the contents of the pipe to the file path, creating it if
202// necessary, and returns the number of bytes successfully written, or an

Callers 1

TestMainFunction · 0.92

Calls 2

NewPipeFunction · 0.85
WithReaderMethod · 0.80

Tested by 1

TestMainFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…