restic/repository: remove Backend() method

This commit is contained in:
Michael Eischer committed 2024-05-18 21:42:51 +02:00
1 parent 673496b091
commit 291c9677de
2 files changed
-8

No files matched your search

-5
View File
@@ -579,11 +579,6 @@ func (r *Repository) flushPacks(ctx context.Context) error {
return err
}
// Backend returns the backend for the repository.
func (r *Repository) Backend() backend.Backend {
return r.be
}
func (r *Repository) Connections() uint {
return r.be.Connections()
}