MCPcopy
hub / github.com/restic/restic / Hash

Method Hash

internal/backend/rewind_reader.go:24–24  ·  view source on GitHub ↗

Hash return a hash of the data if requested by the backed.

()

Source from the content-addressed store, hash-verified

22
23 // Hash return a hash of the data if requested by the backed.
24 Hash() []byte
25}
26
27// ByteReader implements a RewindReader for a byte slice.

Callers 6

testRewindReaderFunction · 0.65
saveSingleBlobMethod · 0.65
HashMethod · 0.65
SaveMethod · 0.65
SaveMethod · 0.65
SaveMethod · 0.65

Implementers 3

ByteReaderinternal/backend/rewind_reader.go
FileReaderinternal/backend/rewind_reader.go
errorCloserinternal/backend/test/tests.go

Calls

no outgoing calls

Tested by 1

testRewindReaderFunction · 0.52