MCPcopy
hub / github.com/perkeep/perkeep / Reader

Method Reader

pkg/test/blob.go:84–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

82}
83
84func (tb *Blob) Reader() io.Reader {
85 return strings.NewReader(tb.Contents)
86}
87
88func (tb *Blob) AssertMatches(t *testing.T, sb blob.SizedRef) {
89 if sb.Size != tb.Size() {

Callers 15

TestDoubleReceiveFunction · 0.95
TestCloseFunction · 0.95
TestOptFunction · 0.95
testSubFetcherMethod · 0.95
TestShardFunction · 0.95
MustUploadMethod · 0.95
UploadStringMethod · 0.95
UploadFileMethod · 0.95
UploadDirMethod · 0.95
TestHandlerRightRefFunction · 0.95

Calls

no outgoing calls

Tested by 15

TestDoubleReceiveFunction · 0.76
TestCloseFunction · 0.76
TestOptFunction · 0.76
TestShardFunction · 0.76
TestHandlerRightRefFunction · 0.76
addBlobMethod · 0.64
initTestsFunction · 0.64
TestDeleteFunction · 0.64
mustReceiveFunction · 0.64
mustReceiveFunction · 0.64