Safe Haskell | Safe-Inferred |
---|
- getUserDataDir :: String -> IO FilePath
- getUserDataFile :: String -> String -> IO FilePath
- getUserConfigDir :: String -> IO FilePath
- getUserConfigFile :: String -> String -> IO FilePath
- getUserCacheDir :: String -> IO FilePath
- getUserCacheFile :: String -> String -> IO FilePath
- getSystemDataDirs :: String -> IO [FilePath]
- getSystemDataFiles :: String -> String -> IO [FilePath]
- getSystemConfigDirs :: String -> IO [FilePath]
- getSystemConfigFiles :: String -> String -> IO [FilePath]
- getAllDataDirs :: String -> IO [FilePath]
- getAllDataFiles :: String -> String -> IO [FilePath]
- getAllConfigDirs :: String -> IO [FilePath]
- getAllConfigFiles :: String -> String -> IO [FilePath]
Documentation
getUserDataDir :: String -> IO FilePathSource
Get the directory for user-specific data files.
getUserConfigDir :: String -> IO FilePathSource
Get the directory for user-specific configuration files.
getUserConfigFile :: String -> String -> IO FilePathSource
Get the path to a specific user configuration file.
getUserCacheDir :: String -> IO FilePathSource
Get the directory for user-specific cache files.
getUserCacheFile :: String -> String -> IO FilePathSource
Get the path to a specific user cache file.
getSystemDataDirs :: String -> IO [FilePath]Source
Get a list of the system-wide data directories.
getSystemDataFiles :: String -> String -> IO [FilePath]Source
Get a list of all paths for a specific system data file.
getSystemConfigDirs :: String -> IO [FilePath]Source
Get a list of the system-wide configuration directories.
getSystemConfigFiles :: String -> String -> IO [FilePath]Source
Get a list of all paths for a specific system configuration file.
getAllDataDirs :: String -> IO [FilePath]Source
Get a list of all data directories.
getAllDataFiles :: String -> String -> IO [FilePath]Source
Get a list of all paths for a specific data file.
getAllConfigDirs :: String -> IO [FilePath]Source
Get a list of all configuration directories.