mirror of
https://github.com/octoleo/restic.git
synced 2025-02-02 11:58:26 +00:00
c4e2203e45
The archiver first called the Select function for a path before checking whether the Lstat on that path actually worked. The RejectFuncs in exclude.go worked around this by checking whether they received a nil os.FileInfo. Checking first is more obvious and requires less code.