Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- addToPreflist :: String -> String -> IO ()
- deleteSources :: IO ()
- getPreflist :: String -> IO [String]
- setPreflist :: String -> [String] -> IO ()
- getGlobal :: String -> IO [String]
- environmentHelpHome :: ([String], [String])
- defaultrepo :: RemoteRepos -> AbsolutePath -> [String] -> IO [String]
- getDefaultRepoPath :: IO (Maybe String)
- addRepoSource :: String -> DryRun -> RemoteRepos -> SetDefault -> 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
- filetypeFunction :: IO (FilePath -> FileType)
- getCaches :: UseCache -> String -> IO Cache
- globalCacheDir :: IO (Maybe FilePath)
- globalPrefsDirDoc :: String
- globalPrefsDir :: IO (Maybe FilePath)
- getMotd :: String -> IO ByteString
- showMotd :: String -> IO ()
- prefsUrl :: FilePath -> String
- prefsDirPath :: FilePath
- prefsFilesHelp :: [(String, String)]
Documentation
deleteSources :: IO () Source #
delete references to other repositories. Used when cloning to a ssh destination. Assume the current working dir is the repository.
environmentHelpHome :: ([String], [String]) Source #
defaultrepo :: RemoteRepos -> AbsolutePath -> [String] -> IO [String] Source #
addRepoSource :: String -> DryRun -> RemoteRepos -> SetDefault -> IO () Source #
addRepoSource adds a new entry to _darcsprefsrepos and sets it as default in _darcsprefsdefaultrepo, unless --no-set-default or --dry-run is passed, or it is the same repository as the current one.
writeDefaultPrefs :: IO () Source #
boringRegexps :: IO [Regex] Source #
boringRegexps returns a list of the boring regexps, from the local and global prefs/boring files. Any invalid regexps are filtered, preventing an exception in (potentially) pure code, when the regexps are used.
darcsdirFilter :: [FilePath] -> [FilePath] Source #
globalPrefsDirDoc :: String Source #
The relative path of the global preference directory; ~/.darcs
on Unix,
and %APPDATA%/darcs
on Windows. This is used for online documentation.
globalPrefsDir :: IO (Maybe FilePath) Source #
The path of the global preference directory; ~/.darcs
on Unix,
and %APPDATA%/darcs
on Windows.
getMotd :: String -> IO ByteString Source #
Fetch and return the message of the day for a given repository.
documentation of prefs files
prefsFilesHelp :: [(String, String)] Source #