darcs-2.8.4: a distributed, interactive, smart revision control system

Safe Haskell | None

Darcs.Repository.Prefs

Synopsis

- addToPreflist :: String -> String -> IO ()
- getPreflist :: String -> IO [String]
- setPreflist :: String -> [String] -> IO ()
- getGlobal :: String -> IO [String]
- environmentHelpHome :: ([String], [String])
- defaultrepo :: [DarcsFlag] -> AbsolutePath -> [String] -> IO [String]
- setDefaultrepo :: String -> [DarcsFlag] -> IO ()
- getPrefval :: String -> IO (Maybe String)
- setPrefval :: String -> String -> IO ()
- changePrefval :: String -> String -> String -> IO ()
- defPrefval :: String -> String -> IO String
- writeDefaultPrefs :: IO ()
- boringRegexps :: IO [Regex]
- boringFileFilter :: IO ([FilePath] -> [FilePath])
- darcsdirFilter :: [FilePath] -> [FilePath]
- data FileType
  - = BinaryFile
  - | TextFile
- filetypeFunction :: IO (FilePath -> FileType)
- getCaches :: [DarcsFlag] -> String -> IO Cache
- binariesFileHelp :: [String]
- boringFileHelp :: [String]
- globalCacheDir :: IO (Maybe FilePath)
- globalPrefsDirDoc :: String

# Documentation

addToPreflist :: String -> String -> IO ()

getPreflist :: String -> IO [String]

setPreflist :: String -> [String] -> IO ()

getGlobal :: String -> IO [String]

environmentHelpHome :: ([String], [String])

defaultrepo :: [DarcsFlag] -> AbsolutePath -> [String] -> IO [String]

setDefaultrepo :: String -> [DarcsFlag] -> IO ()

getPrefval :: String -> IO (Maybe String)

setPrefval :: String -> String -> IO ()

changePrefval :: String -> String -> String -> IO ()

defPrefval :: String -> String -> IO String

writeDefaultPrefs :: IO ()

boringRegexps :: IO [Regex]

boringFileFilter :: IO ([FilePath] -> [FilePath])

darcsdirFilter :: [FilePath] -> [FilePath]

data FileType

Constructors

BinaryFile |
TextFile |

Instances

Eq FileType |

filetypeFunction :: IO (FilePath -> FileType)

getCaches :: [DarcsFlag] -> String -> IO Cache

binariesFileHelp :: [String]

boringFileHelp :: [String]

globalCacheDir :: IO (Maybe FilePath)

globalPrefsDirDoc :: String

The relative path of the global preference directory; `~/.darcs` on Unix, and `%APPDATA%/darcs` on Windows. This is used for online documentation.