Re: [go-nuts] filepath.WalkFunc documentation question

2018-08-10 Thread Jan Mercl
On Fri, Aug 10, 2018 at 10:24 AM wrote: > Is this intentional or incorrect documentation ? The reason is that the resulting filename is produced by Join which Cleans the result. This should be perhaps added to the documentation. -- -j -- You received this message because you are subscribed

[go-nuts] filepath.WalkFunc documentation question

2018-08-10 Thread djadala
Hi, documentation of filepath.WalkFunc state: The path argument contains the argument to Walk as a prefix; that is, if > Walk is called with "dir", which is a directory containing the file "a", > the walk function will be called with argument "dir/a". > but if the root parameter of Walk is "."