Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Git related functions that belong in some other package.
- gitResetHard :: IO ()
- gitResetSubdir :: FilePath -> IO ()
- gitUnclean :: IO (Maybe String)
- gitIsClean :: IO Bool
- withCleanRepo :: IO a -> IO a
Documentation
gitResetHard :: IO () Source #
Do a hard reset of all the files of the repository containing the working directory.
gitResetSubdir :: FilePath -> IO () Source #
Do a hard reset of all the files of a subdirectory within a git repository. (Does this every throw an exception?)
gitUnclean :: IO (Maybe String) Source #
Determine whether the repository containing the working directory is in a modified state, if so return the messages.
gitIsClean :: IO Bool Source #
withCleanRepo :: IO a -> IO a Source #