Hoogle Search

Within LTS Haskell 24.32 (ghc-9.10.3)

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

  1. setFileSize :: PosixPath -> FileOffset -> IO ()

    unix System.Posix.Files.PosixString

    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.

  2. setFileTimes :: PosixPath -> EpochTime -> EpochTime -> IO ()

    unix System.Posix.Files.PosixString

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

  3. setFileTimesHiRes :: PosixPath -> POSIXTime -> POSIXTime -> IO ()

    unix System.Posix.Files.PosixString

    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.

  4. setGroupIDMode :: FileMode

    unix System.Posix.Files.PosixString

    Set group ID on execution.

  5. setOwnerAndGroup :: PosixPath -> UserID -> GroupID -> IO ()

    unix System.Posix.Files.PosixString

    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.

  6. setSymbolicLinkOwnerAndGroup :: PosixPath -> UserID -> GroupID -> IO ()

    unix System.Posix.Files.PosixString

    Acts as setOwnerAndGroup but does not follow symlinks (and thus changes permissions on the link itself). Note: calls lchown.

  7. setSymbolicLinkTimesHiRes :: PosixPath -> POSIXTime -> POSIXTime -> IO ()

    unix System.Posix.Files.PosixString

    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.

  8. setUserIDMode :: FileMode

    unix System.Posix.Files.PosixString

    Set user ID on execution.

  9. setFdOption :: Fd -> FdOption -> Bool -> IO ()

    unix System.Posix.IO

    May throw an exception if this is an invalid descriptor.

  10. setLock :: Fd -> FileLock -> IO ()

    unix System.Posix.IO

    May throw an exception if this is an invalid descriptor.

Page 141 of many | Previous | Next