walk
walk copied to clipboard
filepath.SkipDir returns as an error
Not clear if this is expected, but when we return filepath.SkipDir, that is then transmitted back as an err to the caller of the walk.Walk() function, I would have expected that such an error be silently eaten by walk.Walk() and not make it outside of that call.
If I used filepath.Walk() the error is not returned to the callee, as I would have expected.