mirror of
https://github.com/restic/restic.git
synced 2025-08-11 10:17:44 +00:00
Backend: Expose connections parameter
This commit is contained in:
@@ -229,6 +229,10 @@ func (be *MemoryBackend) List(ctx context.Context, t restic.FileType, fn func(re
|
||||
return ctx.Err()
|
||||
}
|
||||
|
||||
func (be *MemoryBackend) Connections() uint {
|
||||
return 2
|
||||
}
|
||||
|
||||
// Location returns the location of the backend (RAM).
|
||||
func (be *MemoryBackend) Location() string {
|
||||
return "RAM"
|
||||
|
Reference in New Issue
Block a user