Hoogle Search
Within LTS Haskell 24.67 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
setFileTimesHiRes :: FilePath -> POSIXTime -> POSIXTime -> IO ()unix System.Posix.Files Like setFileTimes but timestamps can have sub-second resolution. Note: calls utimensat or utimes. Support for high resolution timestamps is filesystem dependent with the following limitations:
- HFS+ volumes on OS X truncate the sub-second part of the timestamp.
-
unix System.Posix.Files Set group ID on execution.
setOwnerAndGroup :: FilePath -> UserID -> GroupID -> IO ()unix System.Posix.Files setOwnerAndGroup path uid gid changes the owner and group of path to uid and gid, respectively. If uid or gid is specified as -1, then that ID is not changed. Note: calls chown.
setSymbolicLinkOwnerAndGroup :: FilePath -> UserID -> GroupID -> IO ()unix System.Posix.Files Acts as setOwnerAndGroup but does not follow symlinks (and thus changes permissions on the link itself). Note: calls lchown.
setSymbolicLinkTimesHiRes :: FilePath -> POSIXTime -> POSIXTime -> IO ()unix System.Posix.Files Like setFileTimesHiRes but does not follow symbolic links. This operation is not supported on all platforms. On these platforms, this function will raise an exception. Note: calls utimensat or lutimes. Support for high resolution timestamps is filesystem dependent with the following limitations:
- HFS+ volumes on OS X truncate the sub-second part of the timestamp.
-
unix System.Posix.Files Set user ID on execution.
setFdMode :: Fd -> FileMode -> IO ()unix System.Posix.Files.ByteString setFdMode fd mode acts like setFileMode but uses a file descriptor fd instead of a FilePath. Note: calls fchmod.
setFdOwnerAndGroup :: Fd -> UserID -> GroupID -> IO ()unix System.Posix.Files.ByteString Acts as setOwnerAndGroup but uses a file descriptor instead of a FilePath. Note: calls fchown.
setFdSize :: Fd -> FileOffset -> IO ()unix System.Posix.Files.ByteString Acts as setFileSize but uses a file descriptor instead of a FilePath. Note: calls ftruncate.
setFdTimesHiRes :: Fd -> POSIXTime -> POSIXTime -> IO ()unix System.Posix.Files.ByteString Like setFileTimesHiRes but uses a file descriptor instead of a path. This operation is not supported on all platforms. On these platforms, this function will raise an exception. Note: calls futimens or futimes. Support for high resolution timestamps is filesystem dependent with the following limitations:
- HFS+ volumes on OS X truncate the sub-second part of the timestamp.