darcs-2.8.5: a distributed, interactive, smart revision control system

Portabilityportable
Stabilityexperimental
Maintainerdarcs-devel@darcs.net
Safe HaskellNone

Darcs.Global

Description

This was originally Tomasz Zielonka's AtExit module, slightly generalised to include global variables. Here, we attempt to cover broad, global features, such as exit handlers. These features slightly break the Haskellian purity of darcs, in favour of programming convenience.

Synopsis

Documentation

atexit :: IO () -> IO ()Source

Registers an IO action to run just before darcs exits. Useful for removing temporary files and directories, for example. Referenced in Issue1914.

data SshSettings Source

Constructors

SshSettings 

Fields

ssh :: String
 
scp :: String
 
sftp :: String
 

withDebugMode :: (Bool -> IO a) -> IO aSource