mirror of
https://github.com/restic/restic.git
synced 2026-11-23 22:02:40 +00:00
Backend: Expose connections parameter
This commit is contained in:
1 parent
07a565e6f7
commit
4f97492d28
10 files changed
+83
-31
No files matched your search
@@ -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