simple-cmd-0.1.0.0: Simple String-based process commands

Safe HaskellSafe
LanguageHaskell2010

SimpleCmd.Git

Synopsis

Documentation

git :: String -> [String] -> IO String Source #

Run git command and return output

git_ :: String -> [String] -> IO () Source #

Run git command with output to stdout and stderr

gitBranch :: IO String Source #

Return the git branch of the current directory

isGitDir :: FilePath -> IO Bool Source #

Check if directory has a .git/ dir

rwGitDir :: IO Bool Source #

Check if a git repo is under ssh