When I needed to follow symlinks and exclude application-specific
directories, I ended
up copying and customizing Walk() and walk() from the filepath package.
They are
short and it was a straightforward to adapt them to my needs.
https://cs.opensource.google/go/go/+/refs/tags/go1.22.3:src/path/f
Jochen,
"the first step is to define exactly what the function should do."
path/filepath: fix HasPrefix #18358
https://github.com/golang/go/issues/18358#issuecomment-497728574
Peter
On Thursday, May 16, 2024 at 7:15:45 AM UTC-4 Jochen Voss wrote:
> Dear all,
>
> filepath.HasPrefix is deprecate