MCPcopy Create free account
hub / github.com/cli/cli / Read

Method Read

pkg/cmdutil/file_input_test.go:21–24  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

19}
20
21func (r *stdinReader) Read(p []byte) (int, error) {
22 r.read = true
23 return r.Reader.Read(p)
24}
25
26func (r *stdinReader) Close() error { return nil }
27

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected