mirror of
https://github.com/restic/restic.git
synced 2025-12-13 12:14:42 +00:00
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.