Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
84
func
(tb *Blob) Reader() io.Reader {
85
return
strings.NewReader(tb.Contents)
86
}
87
88
func
(tb *Blob) AssertMatches(t *testing.T, sb blob.SizedRef) {
89
if
sb.Size != tb.Size() {
Callers
15
TestDoubleReceive
Function · 0.95
TestDoubleReceiveFailingIndex
Function · 0.95
TestClose
Function · 0.95
TestOpt
Function · 0.95
testSubFetcher
Method · 0.95
TestShard
Function · 0.95
MustUpload
Method · 0.95
TestIndexingPermanodeBadSignature
Function · 0.95
UploadString
Method · 0.95
UploadFile
Method · 0.95
UploadDir
Method · 0.95
TestHandlerRightRef
Function · 0.95
Calls
no outgoing calls
Tested by
15
TestDoubleReceive
Function · 0.76
TestDoubleReceiveFailingIndex
Function · 0.76
TestClose
Function · 0.76
TestOpt
Function · 0.76
TestShard
Function · 0.76
TestIndexingPermanodeBadSignature
Function · 0.76
TestHandlerRightRef
Function · 0.76
addBlob
Method · 0.64
initTests
Function · 0.64
TestDelete
Function · 0.64
mustReceive
Function · 0.64
mustReceive
Function · 0.64