darcs-2.18.4: a distributed, interactive, smart revision control system
Safe HaskellSafe-Inferred
LanguageHaskell2010

Darcs.Repository.Prefs

Synopsis

Documentation

data Pref Source #

Instances

Instances details
Read Pref Source # 
Instance details

Defined in Darcs.Repository.Prefs

Show Pref Source # 
Instance details

Defined in Darcs.Repository.Prefs

Methods

showsPrec :: Int -> Pref -> ShowS #

show :: Pref -> String #

showList :: [Pref] -> ShowS #

Eq Pref Source # 
Instance details

Defined in Darcs.Repository.Prefs

Methods

(==) :: Pref -> Pref -> Bool #

(/=) :: Pref -> Pref -> Bool #

Ord Pref Source # 
Instance details

Defined in Darcs.Repository.Prefs

Methods

compare :: Pref -> Pref -> Ordering #

(<) :: Pref -> Pref -> Bool #

(<=) :: Pref -> Pref -> Bool #

(>) :: Pref -> Pref -> Bool #

(>=) :: Pref -> Pref -> Bool #

max :: Pref -> Pref -> Pref #

min :: Pref -> Pref -> Pref #

deleteSources :: IO () Source #

delete references to other repositories. Used when cloning to a ssh destination. Assume the current working dir is the repository.

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.

data FileType Source #

Constructors

BinaryFile 
TextFile 

Instances

Instances details
Eq FileType Source # 
Instance details

Defined in Darcs.Repository.Prefs

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.

showMotd :: String -> IO () Source #

Display the message of the day for a given repository,

documentation of prefs files