| License | BSD3 |
|---|---|
| Maintainer | tbidne@gmail.com |
| Safe Haskell | Safe |
| Language | Haskell2010 |
Git.FastForward.Core.Internal
Description
Exports utility functions.
Synopsis
- branchUpToDate :: Text -> Bool
- mergeTypeToCmd :: MergeType -> Text
- remoteUpToDate :: Text -> Bool
- textToLocalBranches :: Text -> Either Text LocalBranches
Documentation
branchUpToDate :: Text -> Bool Source #
Determines if a local branch is up to date.
mergeTypeToCmd :: MergeType -> Text Source #
Maps a merge type to its command
remoteUpToDate :: Text -> Bool Source #
Determines if a remote branch is up to date.
textToLocalBranches :: Text -> Either Text LocalBranches Source #
Maps Text to Right LocalBranches if we find a current branch
and all branch names are otherwise parsed successfully. Returns Left err
otherwise.