Dirent.IsDir() returns false for symlinks to directories
sentriz opened this issue · 2 comments
sentriz commented
hi thank you for this project
i'm wondering how I can tell if a symlink to a directory is a directory, where in my case
dirent.IsDir() = false
dirent.IsSymlink() = true
i think i saw a isSymlinkToDirectory
, but it wasn't public
thanks!
Linux manjaro 5.4.13-3-MANJARO #1 SMP PREEMPT Mon Jan 20 18:17:25 UTC 2020 x86_64 GNU/Linux
karrick commented
Thanks for bringing up the issue. I think it might be a fair addition to the library to expose that feature.
sentriz commented
great to hear thank you :)