internal/data: extract HardlinkIndex from restorer

The HardlinkIndex is also used by `cmd_stats`, thus place it in a shared
package.
This commit is contained in:
Michael Eischer committed 2026-06-20 17:49:20 +02:00
1 parent 61708772a2
commit 5cd39d01c1
6 files changed
+9 -12

No files matched your search

+1 -2
View File
@@ -1,13 +1,12 @@
package restore
import (
"github.com/restic/restic/internal/restic"
"testing"
"time"
"github.com/restic/restic/internal/errors"
"github.com/restic/restic/internal/restic"
"github.com/restic/restic/internal/test"
"github.com/restic/restic/internal/ui/progress"
)
type printerTraceEntry struct {