Update readwrite.go (#1950)

Correcting wrong doc string.
This commit is contained in:
Marc Schubert 2019-05-13 13:53:14 +02:00 committed by Stefan Benten
parent 3471174dce
commit 2509a4c98a

View File

@ -69,7 +69,7 @@ func (w *Writer) Cancel() error {
return Error.Wrap(w.blob.Cancel())
}
// Reader implements a piece writer that writes content to blob store and calculates a hash.
// Reader implements a piece reader that reads content from blob store.
type Reader struct {
buf bufio.Reader
blob storage.BlobReader