MCPcopy
hub / github.com/bitfield/script / Close

Method Close

script.go:233–235  ·  view source on GitHub ↗

Close closes the pipe's associated reader. This is a no-op if the reader is not an [io.Closer].

()

Source from the content-addressed store, hash-verified

231// Close closes the pipe's associated reader. This is a no-op if the reader is
232// not an [io.Closer].
233func (p *Pipe) Close() error {
234 return p.Reader.Close()
235}
236
237// Column produces column col of each line of input, where the first column is
238// column 1, and columns are delimited by Unicode whitespace. Lines containing

Calls

no outgoing calls