mirror of
https://github.com/restic/restic.git
synced 2025-08-21 12:27:32 +00:00
backup: report files whose chunks failed to upload
This commit is contained in:
@@ -33,7 +33,7 @@ func createTestFiles(t testing.TB, num int) (files []string) {
|
||||
func startFileSaver(ctx context.Context, t testing.TB) (*FileSaver, context.Context, *errgroup.Group) {
|
||||
wg, ctx := errgroup.WithContext(ctx)
|
||||
|
||||
saveBlob := func(ctx context.Context, tpe restic.BlobType, buf *Buffer, cb func(SaveBlobResponse)) {
|
||||
saveBlob := func(ctx context.Context, tpe restic.BlobType, buf *Buffer, _ string, cb func(SaveBlobResponse)) {
|
||||
cb(SaveBlobResponse{
|
||||
id: restic.Hash(buf.Data),
|
||||
length: len(buf.Data),
|
||||
|
Reference in New Issue
Block a user