Hoogle Search
Within LTS Haskell 24.34 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
setOwnerSearchable :: Bool -> Permissions -> Permissionsdirectory System.Directory No documentation available.
setOwnerWritable :: Bool -> Permissions -> Permissionsdirectory System.Directory No documentation available.
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:
- isPermissionError if the user is not permitted to set the permissions, or
- isDoesNotExistError if the file or directory does not exist.
setAccessPermissions :: OsPath -> Permissions -> IO ()directory System.Directory.Internal No documentation available.
setCurrentDirectoryInternal :: OsPath -> IO ()directory System.Directory.Internal No documentation available.
setFileMode :: OsPath -> Mode -> IO ()directory System.Directory.Internal No documentation available.
setFilePermissions :: OsPath -> Mode -> IO ()directory System.Directory.Internal No documentation available.
setTimes :: OsPath -> (Maybe POSIXTime, Maybe POSIXTime) -> IO ()directory System.Directory.Internal No documentation available.
setWriteMode :: Bool -> Mode -> Modedirectory System.Directory.Internal No documentation available.
setAccessTime :: OsPath -> UTCTime -> IO ()directory System.Directory.OsPath Change the time at which the file or directory was last accessed. The operation may fail with:
- isPermissionError if the user is not permitted to alter the access time; or
- isDoesNotExistError if the file or directory does not exist.
- 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.