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. setFinalizerExceptionHandler :: (SomeException -> IO ()) -> IO ()

    base GHC.Weak.Finalize

    Set the global action called to report exceptions thrown by weak pointer finalizers to the user.

  2. setOption :: IsOption v => v -> OptionSet -> OptionSet

    tasty Test.Tasty.Options

    Set the option value.

  3. setAccessTime :: FilePath -> UTCTime -> IO ()

    directory System.Directory

    Change the time at which the file or directory was last accessed. The operation may fail with:

    Some caveats for POSIX systems:
    • Not all systems support utimensat, in which case the function can only emulate the behavior by reading the modification time and then setting both the access and modification times together. On systems where utimensat is supported, the access time is set atomically with nanosecond precision.
    • If compiled against a version of unix prior to 2.7.0.0, the function would not be able to set timestamps with sub-second resolution. In this case, there would also be loss of precision in the modification time.

  4. setCurrentDirectory :: FilePath -> IO ()

    directory System.Directory

    Change the working directory to the given path. In a multithreaded program, the current working directory is a global state shared among all threads of the process. Therefore, when performing filesystem operations from multiple threads, it is highly recommended to use absolute rather than relative paths (see: makeAbsolute). The operation may fail with:

    • HardwareFault A physical I/O error has occurred. [EIO]
    • InvalidArgument The operand is not a valid directory name. [ENAMETOOLONG, ELOOP]
    • isDoesNotExistError The directory does not exist. [ENOENT, ENOTDIR]
    • isPermissionError The process has insufficient privileges to perform the operation. [EACCES]
    • UnsupportedOperation The operating system has no notion of current working directory, or the working directory cannot be dynamically changed.
    • InappropriateType The path refers to an existing non-directory object. [ENOTDIR]

  5. setModificationTime :: FilePath -> UTCTime -> IO ()

    directory System.Directory

    Change the time at which the file or directory was last modified. The operation may fail with:

    Some caveats for POSIX systems:
    • Not all systems support utimensat, in which case the function can only emulate the behavior by reading the access time and then setting both the access and modification times together. On systems where utimensat is supported, the modification time is set atomically with nanosecond precision.
    • If compiled against a version of unix prior to 2.7.0.0, the function would not be able to set timestamps with sub-second resolution. In this case, there would also be loss of precision in the access time.

  6. setOwnerExecutable :: Bool -> Permissions -> Permissions

    directory System.Directory

    No documentation available.

  7. setOwnerReadable :: Bool -> Permissions -> Permissions

    directory System.Directory

    No documentation available.

  8. setOwnerSearchable :: Bool -> Permissions -> Permissions

    directory System.Directory

    No documentation available.

  9. setOwnerWritable :: Bool -> Permissions -> Permissions

    directory System.Directory

    No documentation available.

  10. setPermissions :: FilePath -> Permissions -> IO ()

    directory System.Directory

    Set the permissions of a file or directory. On Windows, this is only capable of changing the writable permission, which corresponds to the "read-only" attribute. Changing the other permissions has no effect. On POSIX systems, this sets the owner permissions. The operation may fail with:

Page 129 of many | Previous | Next