Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Some wrappers for git commands.
Synopsis
- git :: String -> [String] -> IO String
- git_ :: String -> [String] -> IO ()
- gitBool :: String -> [String] -> IO Bool
- gitBranch :: IO String
- gitDiffQuiet :: [String] -> IO Bool
- grepGitConfig :: String -> IO Bool
- isGitDir :: FilePath -> IO Bool
- rwGitDir :: IO Bool
Documentation
:: String | git command |
-> [String] | arguments |
-> IO String | output |
git c args
runs git command and return output
git_ :: String -> [String] -> IO () Source #
git_ c args
run git command with output to stdout and stderr
:: String | git command |
-> [String] | arguments |
-> IO Bool | result |
gitBool c args
runs git command and return result
Since: 0.2.2
gitDiffQuiet :: [String] -> IO Bool Source #
gitDiffQuiet
checks if unchanged
Since: 0.1.3
grepGitConfig :: String -> IO Bool Source #
grepGitConfig pat
greps ".git/config" for extended regexp
Since: 0.1.1