mirror of
https://github.com/restic/restic.git
synced 2025-12-04 00:21:46 +00:00
backend: rename LimitReader to LimitReadCloser
This commit is contained in:
@@ -312,7 +312,7 @@ func (b *Local) GetReader(t backend.Type, name string, offset, length uint) (io.
|
||||
return f, nil
|
||||
}
|
||||
|
||||
return backend.LimitReader(f, int64(length)), nil
|
||||
return backend.LimitReadCloser(f, int64(length)), nil
|
||||
}
|
||||
|
||||
// Test returns true if a blob of the given type and name exists in the backend.
|
||||
|
||||
Reference in New Issue
Block a user