Safe Haskell | None |
---|---|
Language | Haskell2010 |
- 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
- binariesFileHelp :: [String]
- boringFileHelp :: [String]
- globalCacheDir :: IO (Maybe FilePath)
- globalPrefsDirDoc :: String
- globalPrefsDir :: IO (Maybe FilePath)
- oldGlobalCacheDir :: IO (Maybe FilePath)
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 #
binariesFileHelp :: [String] Source #
boringFileHelp :: [String] 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.