MCPcopy Index your code
hub / github.com/cli/cli / Read

Method Read

pkg/cmd/api/pagination_test.go:271–276  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

269}
270
271func (r *noWriteToReader) Read(p []byte) (int, error) {
272 if r.limit > 0 {
273 p = p[:r.limit]
274 }
275 return r.Reader.Read(p)
276}

Callers 2

gardenRunFunction · 0.45
readPathFromFileFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected