mirror of
https://github.com/restic/restic.git
synced 2025-08-24 16:17:30 +00:00
backend: rename LimitReader to LimitReadCloser
This commit is contained in:
@@ -446,7 +446,7 @@ func (r *SFTP) GetReader(t backend.Type, name string, offset, length uint) (io.R
|
||||
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