mirror of
https://github.com/Fishwaldo/restic.git
synced 2025-04-01 11:51:41 +00:00
parent
aef5e03731
commit
c323f73bf9
1 changed files with 1 additions and 0 deletions
|
@ -546,6 +546,7 @@ func (r *Repository) List(ctx context.Context, t restic.FileType, fn func(restic
|
||||||
id, err := restic.ParseID(fi.Name)
|
id, err := restic.ParseID(fi.Name)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
debug.Log("unable to parse %v as an ID", fi.Name)
|
debug.Log("unable to parse %v as an ID", fi.Name)
|
||||||
|
return nil
|
||||||
}
|
}
|
||||||
return fn(id, fi.Size)
|
return fn(id, fi.Size)
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Reference in a new issue