From ee53632ec641e1b99ce8adb75d8a9805e003dc71 Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Fri, 5 Jun 2026 13:24:47 +0200 Subject: [PATCH] restic: remove Key() from repository interface All callers use the concrete Repository type --- internal/restic/repository.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/internal/restic/repository.go b/internal/restic/repository.go index b3e688271..8c68d46e8 100644 --- a/internal/restic/repository.go +++ b/internal/restic/repository.go @@ -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