Use lstat instead of stat, throw on fstat & lstat errors

Description

This MR will introduce new methods isDirectoryNoFollow and isRegularFileNoFollow to not follow symlinks. It will also throw on lstat & fstat errors (which arent caused by nonexistence).

Changes proposed in this merge request:

  • Use lstat
  • Raise exception on lstat/fstat errors

Issues addressed

#33

Edited by Richard Kennedy

Merge request reports

Loading