MCPcopy
hub / github.com/ossf/scorecard / Read

Method Read

cmd/internal/scdiff/app/compare_test.go:94–96  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

92type alwaysErrorReader struct{}
93
94func (a alwaysErrorReader) Read(b []byte) (n int, err error) {
95 return 0, io.ErrClosedPipe
96}
97
98func Test_compare_reader_err(t *testing.T) {
99 t.Parallel()

Callers 7

GetEnabledFunction · 0.80
newScorecardWorkerFunction · 0.80
GenerateJSONSchemaFunction · 0.80
rootCmdFunction · 0.80
handleScorecardMethod · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected