MCPcopy Create free account
hub / github.com/egonelbre/exp / Read

Method Read

check-deferslice/testdata/src/example/example.go:10–10  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

8type myReader struct{}
9
10func (myReader) Read(p []byte) (int, error) { return 0, nil }
11func (myReader) ReadAt(p []byte, off int64) (int, error) { return 0, nil }
12
13// Modifications after defer should be flagged.

Callers 3

readAfterDeferFunction · 0.95
readBeforeDeferFunction · 0.95
readNonDeferredSliceFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected