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
addToPreflist :: String -> String -> IO () Source
deleteSources :: IO () Source
delete references to other repositories. Used when cloning to a ssh destination. Assume the current working dir is the repository.
getPreflist :: String -> IO [String] Source
setPreflist :: String -> [String] -> IO () Source
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.
setPrefval :: String -> String -> IO () Source
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.
boringFileFilter :: IO ([FilePath] -> [FilePath]) Source
darcsdirFilter :: [FilePath] -> [FilePath] Source
filetypeFunction :: IO (FilePath -> FileType) Source
binariesFileHelp :: [String] Source
boringFileHelp :: [String] Source
globalCacheDir :: IO (Maybe 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.
oldGlobalCacheDir :: IO (Maybe FilePath) Source
oldGlobalCacheDir is the old cache path ~.darcscache
now ony used with read-only access.