I have this in my code
files, err := ioutil.ReadDir(CleanDirName)
if err != nil {
log.Println(err)
}
Occasionally I have a symlink to another computer that goes stale, with
this error:
lstat [symlinkname] stale NFS file handle
When this happens, ReadDir does not return any other files in the
slice. I would like it to. Is there any way for me to get it to do that?
--rob solomon
--
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/0bdda613-3f10-1c5c-eba9-a2f70ccd517d%40gmail.com.