Fix up comment on archiver.BlobSaver.Save

This commit is contained in:
greatroar 2020-06-11 13:34:05 +02:00
parent fae7f78057
commit 0fa3091c78
1 changed files with 1 additions and 2 deletions

View File

@ -45,8 +45,7 @@ func NewBlobSaver(ctx context.Context, t *tomb.Tomb, repo Saver, workers uint) *
}
// Save stores a blob in the repo. It checks the index and the known blobs
// before saving anything. The second return parameter is true if the blob was
// previously unknown.
// before saving anything. It takes ownership of the buffer passed in.
func (s *BlobSaver) Save(ctx context.Context, t restic.BlobType, buf *Buffer) FutureBlob {
ch := make(chan saveBlobResponse, 1)
select {