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

Copyright | 2005 Tomasz Zielonka
License | GPL
Maintainer | darcs-devel@darcs.net
Stability | experimental
Portability | portable
Safe Haskell | None
Language | Haskell2010

Darcs.Util.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.

# Documentation

setTimingsMode :: IO () #

whenDebugMode :: IO () -> IO () #

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

setDebugMode :: IO () #

debugMessage :: String -> IO () #

addCRCWarning :: FilePath -> IO () #

getCRCWarnings :: IO [FilePath] #

resetCRCWarnings :: IO () #

darcsdir :: String #

darcsLastMessage :: String #

darcsSendMessage :: String #

darcsSendMessageFinal :: String #

defaultRemoteDarcsCmd :: String #