Source: Remove redundant FileIsSymlink and FileIsDirectory checks
PathExists
does not resolve symlinks, so this is OK for use with broken symlinks, files, and directories.
KWSys FileExists(..., true)
already checks a file is not a directory.
Topic-rename: remove-redundant-stat
Edited by Brad King