-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | A basic implementation of the XDG Base Directory specification.
--   
--   On Unix platforms, this should be a very straightforward
--   implementation of the XDG Base Directory spec. On Windows, it will
--   attempt to do the right thing with regards to choosing appropriate
--   directories.
@package xdg-basedir
@version 0.2.2

module System.Environment.XDG.BaseDir

-- | Get the directory for user-specific data files.
getUserDataDir :: String -> IO FilePath

-- | Get the path to a specific user data file.
getUserDataFile :: String -> String -> IO FilePath

-- | Get the directory for user-specific configuration files.
getUserConfigDir :: String -> IO FilePath

-- | Get the path to a specific user configuration file.
getUserConfigFile :: String -> String -> IO FilePath

-- | Get the directory for user-specific cache files.
getUserCacheDir :: String -> IO FilePath

-- | Get the path to a specific user cache file.
getUserCacheFile :: String -> String -> IO FilePath

-- | Get a list of the system-wide data directories.
getSystemDataDirs :: String -> IO [FilePath]

-- | Get a list of all paths for a specific system data file.
getSystemDataFiles :: String -> String -> IO [FilePath]

-- | Get a list of the system-wide configuration directories.
getSystemConfigDirs :: String -> IO [FilePath]

-- | Get a list of all paths for a specific system configuration file.
getSystemConfigFiles :: String -> String -> IO [FilePath]

-- | Get a list of all data directories.
getAllDataDirs :: String -> IO [FilePath]

-- | Get a list of all paths for a specific data file.
getAllDataFiles :: String -> String -> IO [FilePath]

-- | Get a list of all configuration directories.
getAllConfigDirs :: String -> IO [FilePath]

-- | Get a list of all paths for a specific configuration file.
getAllConfigFiles :: String -> String -> IO [FilePath]
