| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Hish.VCS
Contents
Version Control System
Every version control system provides functions as follows
Methods
vcsAhead :: a -> String -> Maybe String Source
tracking ahead
vcsBehind :: a -> String -> Maybe String Source
tracking behind
vcsCleanliness :: a -> String -> Maybe String Source
determining the cleanliness of working-tree
- ' ' - clean
?- clean (exists untracked file)- '#' - dirty (non-empty index; ready for commit..)
*- dirty (empty index)
vcsCurrentBranch :: a -> String -> Maybe String Source
branchCmd :: a -> String Source
get command for revealing branch
branchArgs :: a -> [String] Source
get arguments for revealing branch
statusCmd :: a -> String Source
get command for revealing status
statusArgs :: a -> [String] Source
get arguments for revealing status
installed :: a -> IO Bool Source
is this vcs installed (= executable)