cli-utils-4.1.0
LicenseBSD3
Maintainertbidne@gmail.com
Safe HaskellSafe
LanguageHaskell2010

Git.FastForward.Core.Internal

Description

Exports utility functions.

Synopsis

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.