mirror of
https://github.com/restic/restic.git
synced 2026-11-05 06:49:21 +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
@@ -18,6 +18,9 @@ type Backend interface {
|
||||
// repository.
|
||||
Location() string
|
||||
|
||||
// Connections returns the maxmimum number of concurrent backend operations.
|
||||
Connections() uint
|
||||
|
||||
// Hasher may return a hash function for calculating a content hash for the backend
|
||||
Hasher() hash.Hash
|
||||
|
||||
|
||||
Reference in new issue
Block a user