Hoogle Search

Within LTS Haskell 24.33 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. setFileMode :: FilePath -> FileMode -> IO ()

    unix System.Posix.Files

    setFileMode path mode changes permission of the file given by path to mode. This operation may fail with throwErrnoPathIfMinus1_ if path doesn't exist or if the effective user ID of the current process is not that of the file's owner. Note: calls chmod.

  2. setFileSize :: FilePath -> FileOffset -> IO ()

    unix System.Posix.Files

    Truncates the file down to the specified length. If the file was larger than the given length before this operation was performed the extra is lost. Note: calls truncate.

  3. setFileTimes :: FilePath -> EpochTime -> EpochTime -> IO ()

    unix System.Posix.Files

    setFileTimes path atime mtime sets the access and modification times associated with file path to atime and mtime, respectively. Note: calls utime.

  4. 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.

  5. setGroupIDMode :: FileMode

    unix System.Posix.Files

    Set group ID on execution.

  6. 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.

  7. 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.

  8. 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.

  9. setUserIDMode :: FileMode

    unix System.Posix.Files

    Set user ID on execution.

  10. 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.

Page 140 of many | Previous | Next