mirror of
https://github.com/restic/restic.git
synced 2025-12-03 22:21:47 +00:00
restorer: extract hardlinks index from restic package
This commit is contained in:
@@ -218,7 +218,7 @@ func (res *Restorer) RestoreTo(ctx context.Context, dst string) error {
|
||||
}
|
||||
}
|
||||
|
||||
idx := restic.NewHardlinkIndex()
|
||||
idx := NewHardlinkIndex()
|
||||
filerestorer := newFileRestorer(dst, res.repo.Backend().Load, res.repo.Key(), res.repo.Index().Lookup, res.repo.Connections())
|
||||
filerestorer.Error = res.Error
|
||||
|
||||
|
||||
Reference in New Issue
Block a user