mirror of
https://github.com/restic/restic.git
synced 2025-12-03 20:51:47 +00:00
Backend: Expose connections parameter
This commit is contained in:
@@ -45,6 +45,10 @@ func (be *Backend) Remove(ctx context.Context, h restic.Handle) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (be *Backend) Connections() uint {
|
||||
return be.b.Connections()
|
||||
}
|
||||
|
||||
// Location returns the location of the backend.
|
||||
func (be *Backend) Location() string {
|
||||
return "DRY:" + be.b.Location()
|
||||
|
||||
Reference in New Issue
Block a user