Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data Pref
- addToPreflist :: Pref -> String -> IO ()
- deleteSources :: IO ()
- getPreflist :: Pref -> IO [String]
- setPreflist :: Pref -> [String] -> IO ()
- getGlobal :: Pref -> IO [String]
- environmentHelpHome :: ([String], [String])
- getDefaultRepo :: IO (Maybe String)
- addRepoSource :: String -> DryRun -> SetDefault -> InheritDefault -> Bool -> IO ()
- getPrefval :: String -> IO (Maybe String)
- setPrefval :: String -> String -> IO ()
- changePrefval :: String -> String -> String -> IO ()
- defPrefval :: String -> String -> IO String
- writeDefaultPrefs :: WithPrefsTemplates -> IO ()
- isBoring :: IO (FilePath -> Bool)
- data FileType
- filetypeFunction :: IO (FilePath -> FileType)
- getCaches :: UseCache -> Maybe AbsoluteOrRemotePath -> IO Cache
- globalCacheDir :: IO (Maybe FilePath)
- globalPrefsDirDoc :: String
- globalPrefsDir :: IO (Maybe FilePath)
- getMotd :: String -> IO ByteString
- showMotd :: String -> IO ()
- prefsUrl :: String -> Pref -> String
- prefsDirPath :: String
- prefsFilePath :: FilePath
- getPrefLines :: FilePath -> IO [String]
- 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 #
addRepoSource :: String -> DryRun -> SetDefault -> InheritDefault -> Bool -> 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 :: WithPrefsTemplates -> IO () 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 #