Copy blobs.

This commit is contained in:
Nuno Cruces
2024-08-01 18:31:25 +01:00
parent 6c12a8c1fa
commit a6815531e0
6 changed files with 23 additions and 7 deletions

View File

@@ -143,6 +143,7 @@ func (b *Blob) WriteTo(w io.Writer) (n int64, err error) {
return n, err
}
if int64(m) != want {
// notest // Write misbehaving
return n, io.ErrShortWrite
}