Lifted findExecutable.
Modulerio-0.1.22.0Haskell2010
RIO.Directory
- 3 types
- 58 values
- Packagerio-0.1.22.0
- Exports61
- LanguageHaskell2010
- LicenceMIT
- SourceDirectory.hs
Lifted setCurrentDirectory.
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 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 setModificationTime.
Lifted setPermissions.
Unlifted withCurrentDirectory.
Instances4Eq, Ord, Read, Show
Eq PermissionsDefined in directory-1.3.8.5 · System.Directory.Internal.CommonOrd PermissionsDefined in directory-1.3.8.5 · System.Directory.Internal.CommonRead PermissionsDefined in directory-1.3.8.5 · System.Directory.Internal.CommonShow PermissionsDefined in directory-1.3.8.5 · 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 sytems, 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.8.5 · System.Directory.Internal.CommonEnum XdgDirectoryDefined in directory-1.3.8.5 · System.Directory.Internal.CommonEq XdgDirectoryDefined in directory-1.3.8.5 · System.Directory.Internal.CommonOrd XdgDirectoryDefined in directory-1.3.8.5 · System.Directory.Internal.CommonRead XdgDirectoryDefined in directory-1.3.8.5 · System.Directory.Internal.CommonShow XdgDirectoryDefined in directory-1.3.8.5 · 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.8.5 · System.Directory.Internal.CommonEnum XdgDirectoryListDefined in directory-1.3.8.5 · System.Directory.Internal.CommonEq XdgDirectoryListDefined in directory-1.3.8.5 · System.Directory.Internal.CommonOrd XdgDirectoryListDefined in directory-1.3.8.5 · System.Directory.Internal.CommonRead XdgDirectoryListDefined in directory-1.3.8.5 · System.Directory.Internal.CommonShow XdgDirectoryListDefined in directory-1.3.8.5 · System.Directory.Internal.Common