repository: move crypto package to internal/repository/crypto

This commit is contained in:
Michael Eischer
2026-06-05 13:26:29 +02:00
parent 35e60dc2c7
commit c8a0bc2c5e
22 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ package pack
import (
"fmt"
"github.com/restic/restic/internal/crypto"
"github.com/restic/restic/internal/repository/crypto"
"github.com/restic/restic/internal/restic"
)
+1 -1
View File
@@ -12,7 +12,7 @@ import (
"github.com/restic/restic/internal/errors"
"github.com/restic/restic/internal/restic"
"github.com/restic/restic/internal/crypto"
"github.com/restic/restic/internal/repository/crypto"
)
// ErrBroken is returned by Add and Finalize after a write error. The packer
@@ -7,7 +7,7 @@ import (
"strings"
"testing"
"github.com/restic/restic/internal/crypto"
"github.com/restic/restic/internal/repository/crypto"
"github.com/restic/restic/internal/restic"
rtest "github.com/restic/restic/internal/test"
)
+1 -1
View File
@@ -11,8 +11,8 @@ import (
"github.com/restic/restic/internal/backend"
"github.com/restic/restic/internal/backend/mem"
"github.com/restic/restic/internal/crypto"
"github.com/restic/restic/internal/errors"
"github.com/restic/restic/internal/repository/crypto"
"github.com/restic/restic/internal/repository/pack"
"github.com/restic/restic/internal/restic"
rtest "github.com/restic/restic/internal/test"