Safe Haskell | None |
---|---|
Language | Haskell2010 |
- hgRevState :: FilePath -> IO (Maybe (HgRev, HgState))
- hgRev :: FilePath -> IO (Maybe HgRev)
- hgState :: FilePath -> IO (Maybe HgState)
- hgShortRev :: HgRev -> String
- hgIsDirty :: HgState -> Bool
- data HgRev = HgRev {
- hgRevision :: String
- hgBranch :: String
- hgTags :: [String]
- hgBookmarks :: [String]
- data HgState
Documentation
:: FilePath | Path anywhere within the repository |
-> IO (Maybe (HgRev, HgState)) | Nothing is returned if no repo or |
Get the hg revision and working directory state for a given repo.
:: FilePath | Path anywhere within the repository |
-> IO (Maybe HgRev) | Nothing is returned if no repo or |
Get the hg revision for a given repo.
:: FilePath | Path anywhere within the repository |
-> IO (Maybe HgState) | Nothing is returned if no repo or |
Get the hg working directory state for a given repo.
hgShortRev :: HgRev -> String Source
Get the hg short revision which is the first 12 hex characters of the hash.
HgRev | |
|