restic: remove Key() from repository interface

All callers use the concrete Repository type
This commit is contained in:
Michael Eischer
2026-06-05 13:24:47 +02:00
parent 8118963d6e
commit ee53632ec6
-2
View File
@@ -5,7 +5,6 @@ import (
"iter"
"github.com/restic/restic/internal/backend"
"github.com/restic/restic/internal/crypto"
"github.com/restic/restic/internal/errors"
"github.com/restic/restic/internal/ui/progress"
)
@@ -20,7 +19,6 @@ type Repository interface {
Connections() uint
Config() Config
PackSize() uint
Key() *crypto.Key
LoadIndex(ctx context.Context, p TerminalCounterFactory) error