mirror of
https://github.com/restic/restic.git
synced 2025-12-03 23:11:47 +00:00
Backend: Expose connections parameter
This commit is contained in:
@@ -133,6 +133,10 @@ func (be *b2Backend) SetListMaxItems(i int) {
|
||||
be.listMaxItems = i
|
||||
}
|
||||
|
||||
func (be *b2Backend) Connections() uint {
|
||||
return be.cfg.Connections
|
||||
}
|
||||
|
||||
// Location returns the location for the backend.
|
||||
func (be *b2Backend) Location() string {
|
||||
return be.cfg.Bucket
|
||||
|
||||
Reference in New Issue
Block a user