Modulerio-0.1.25.0Haskell2010
RIO.Directory
Synopsis
- value emptyPermissions
- value exeExtension
- value setOwnerExecutable
- value setOwnerReadable
- value setOwnerSearchable
- value setOwnerWritable
- value canonicalizePath
- value copyFile
- value copyFileWithMetadata
- value copyPermissions
- value createDirectory
- value createDirectoryIfMissing
- value createDirectoryLink
- value createFileLink
- value doesDirectoryExist
- value doesFileExist
- value doesPathExist
- value findExecutable
- value findExecutables
- value findExecutablesInDirectories
- value findFile
- value findFileWith
- value findFiles
- value findFilesWith
- value getAccessTime
- value getAppUserDataDirectory
- value getCurrentDirectory
- value getDirectoryContents
- value getFileSize
- value getHomeDirectory
- value getModificationTime
- value getPermissions
- value getSymbolicLinkTarget
- value getTemporaryDirectory
- value getUserDocumentsDirectory
- value getXdgDirectory
- value getXdgDirectoryList
- value listDirectory
- value makeAbsolute
- value makeRelativeToCurrentDirectory
- value pathIsSymbolicLink
- value removeDirectory
- value removeDirectoryLink
- value removeDirectoryRecursive
- value removeFile
- value removePathForcibly
- value renameDirectory
- value renameFile
- value renamePath
- value setAccessTime
- value setCurrentDirectory
- value setModificationTime
- value setPermissions
- value withCurrentDirectory
- data Permissions
- value executable
- value readable
- value searchable
- value writable
- data XdgDirectory
- data XdgDirectoryList
- Packagerio-0.1.25.0
- Exports61
- LanguageHaskell2010
- LicenceMIT
- SourceDirectory.hs
Filename extension for executable files (including the dot if any)
(usually "" on POSIX systems and ".exe" on Windows or OS/2).
Lifted canonicalizePath.
Lifted copyFile.
Lifted copyFileWithMetadata.
Lifted copyPermissions.
Lifted createDirectory.
Lifted createDirectoryIfMissing.
Lifted createDirectoryLink.
createFileLink Lifted createFileLink. directory package version should be >= 1.3.1. @since 0.2.16.0
Lifted doesDirectoryExist.
Lifted doesFileExist.
Lifted doesPathExist.
Lifted findExecutable.
Lifted findExecutables.
Lifted findExecutablesInDirectories.
Lifted findFile.
Unlifted findFileWith.
Lifted findFiles.
Unlifted findFilesWith.
Lifted getAccessTime.
Lifted getAppUserDataDirectory.
Lifted getCurrentDirectory.
Lifted getDirectoryContents.
Lifted getFileSize.
Lifted getHomeDirectory.
Lifted getModificationTime.
Lifted getPermissions.
Lifted getSymbolicLinkTarget.
Lifted getTemporaryDirectory.
Lifted getUserDocumentsDirectory.
Lifted getXdgDirectory.
Lifted getXdgDirectoryList.
Lifted listDirectory.
Lifted makeAbsolute.
Lifted makeRelativeToCurrentDirectory.
Lifted pathIsSymbolicLink.
Lifted removeDirectory.
Lifted removeDirectoryLink.
Lifted removeDirectoryRecursive.
Lifted removeFile.
Lifted removePathForcibly.
Lifted renameDirectory.
Lifted renameFile.
Lifted renamePath.
Lifted setAccessTime.
Lifted setCurrentDirectory.
Lifted setModificationTime.
Lifted setPermissions.
Unlifted withCurrentDirectory.
Instances4Eq, Ord, Read, Show
Eq PermissionsDefined in directory-1.3.11.0 · System.Directory.Internal.CommonOrd PermissionsDefined in directory-1.3.11.0 · System.Directory.Internal.CommonRead PermissionsDefined in directory-1.3.11.0 · System.Directory.Internal.CommonShow PermissionsDefined in directory-1.3.11.0 · System.Directory.Internal.Common
Special directories for storing user-specific application data, configuration, and cache files, as specified by the XDG Base Directory Specification.
Note: On Windows, XdgData and XdgConfig usually map to the same directory.
Constructors
XdgDataFor data files (e.g. images). It uses the
XDG_DATA_HOMEenvironment variable. On non-Windows systems, the default is~/.local/share. On Windows, the default is%APPDATA%(e.g.C:/Users/<user>/AppData/Roaming). Can be considered as the user-specific equivalent of/usr/share.XdgConfigFor configuration files. It uses the
XDG_CONFIG_HOMEenvironment variable. On non-Windows systems, the default is~/.config. On Windows, the default is%APPDATA%(e.g.C:/Users/<user>/AppData/Roaming). Can be considered as the user-specific equivalent of/etc.XdgCacheFor non-essential files (e.g. cache). It uses the
XDG_CACHE_HOMEenvironment variable. On non-Windows systems, the default is~/.cache. On Windows, the default is%LOCALAPPDATA%(e.g.C:/Users/<user>/AppData/Local). Can be considered as the user-specific equivalent of/var/cache.XdgStateFor data that should persist between (application) restarts, but that is not important or portable enough to the user that it should be stored in XdgData. It uses the
XDG_STATE_HOMEenvironment variable. On non-Windows systems, the default is~/.local/state. On Windows, the default is%LOCALAPPDATA%(e.g.C:/Users/<user>/AppData/Local).
Instances6Bounded, Enum, Eq, Ord, Read, Show
Bounded XdgDirectoryDefined in directory-1.3.11.0 · System.Directory.Internal.CommonEnum XdgDirectoryDefined in directory-1.3.11.0 · System.Directory.Internal.CommonEq XdgDirectoryDefined in directory-1.3.11.0 · System.Directory.Internal.CommonOrd XdgDirectoryDefined in directory-1.3.11.0 · System.Directory.Internal.CommonRead XdgDirectoryDefined in directory-1.3.11.0 · System.Directory.Internal.CommonShow XdgDirectoryDefined in directory-1.3.11.0 · System.Directory.Internal.Common
Search paths for various application data, as specified by the XDG Base Directory Specification.
The list of paths is split using System.FilePath.searchPathSeparator,
which on Windows is a semicolon.
Note: On Windows, XdgDataDirs and XdgConfigDirs usually yield the same result.
Constructors
XdgDataDirsFor data files (e.g. images). It uses the
XDG_DATA_DIRSenvironment variable. On non-Windows systems, the default is/usr/local/share/and/usr/share/. On Windows, the default is%PROGRAMDATA%or%ALLUSERSPROFILE%(e.g.C:/ProgramData).XdgConfigDirsFor configuration files. It uses the
XDG_CONFIG_DIRSenvironment variable. On non-Windows systems, the default is/etc/xdg. On Windows, the default is%PROGRAMDATA%or%ALLUSERSPROFILE%(e.g.C:/ProgramData).
Instances6Bounded, Enum, Eq, Ord, Read, Show
Bounded XdgDirectoryListDefined in directory-1.3.11.0 · System.Directory.Internal.CommonEnum XdgDirectoryListDefined in directory-1.3.11.0 · System.Directory.Internal.CommonEq XdgDirectoryListDefined in directory-1.3.11.0 · System.Directory.Internal.CommonOrd XdgDirectoryListDefined in directory-1.3.11.0 · System.Directory.Internal.CommonRead XdgDirectoryListDefined in directory-1.3.11.0 · System.Directory.Internal.CommonShow XdgDirectoryListDefined in directory-1.3.11.0 · System.Directory.Internal.Common