mirror of
https://github.com/restic/restic.git
synced 2026-11-08 16:13:38 +00:00
Merge pull request #4499 from MichaelEischer/modular-backend-code
Split backend code from restic package
This commit is contained in:
132 files changed
+1145
-1062
No files matched your search
@@ -295,7 +295,7 @@ func (d *SnapshotsDirStructure) updateSnapshots(ctx context.Context) error {
|
||||
}
|
||||
|
||||
var snapshots restic.Snapshots
|
||||
err := d.root.cfg.Filter.FindAll(ctx, d.root.repo.Backend(), d.root.repo, nil, func(id string, sn *restic.Snapshot, err error) error {
|
||||
err := d.root.cfg.Filter.FindAll(ctx, d.root.repo, d.root.repo, nil, func(id string, sn *restic.Snapshot, err error) error {
|
||||
if sn != nil {
|
||||
snapshots = append(snapshots, sn)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user