On Saturday, January 14, 2023 at 6:52:15 PM UTC-5 raf wrote: The function you implement (WalkDirFunc should receive "p" as the path to the parent (that seems to be what you want) and "d" as the current directory entry. I am not sure why in your example you are showing full paths to the file for "p".
I don't know either. But that is what the code is doing. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/4bdfb9e5-be8c-407b-9885-f476e4c7bff2n%40googlegroups.com.