You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: System/Posix/Files/Common.hsc
+2-4Lines changed: 2 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -507,10 +507,8 @@ isSymbolicLink stat =
507
507
isSocket stat =
508
508
(fileMode stat `intersectFileModes` fileTypeModes) == socketMode
509
509
510
-
--| @getFdStatus fd@ acts as 'getFileStatus' but uses a file descriptor @fd@.
511
-
--
512
-
-- This will not dereference symbolic links by itself, but 'System.Posix.IO.openFd' may do so, depending on the flags passed.
513
-
-- To learn more about this, see @man 7 symlink@ section "Obtaining a file descriptor that refers to a symbolic link" or the documentation of 'System.Posix.IO.openFd'.
510
+
--| @getFdStatus fd@ is similar to 'getFileStatus', but returns data about
0 commit comments