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

Git.Stale.Types.ResultsWithErrs

Description

Provides a ResultsWithErrs type that wraps Results along with a list of errors.

Synopsis

Documentation

newtype ErrDisp Source #

Newtype wrapper for errors over (display string, num branches).

Constructors

ErrDisp (Text, Int) 

data ResultsWithErrs Source #

Wraps Results and includes [Err].

Constructors

ResultsWithErrs 

Fields

Instances

Instances details
Show ResultsWithErrs Source # 
Instance details

Defined in Git.Stale.Types.ResultsWithErrs

newtype ResultsWithErrsDisp Source #

Newtype wrapper over (ErrDisp, ResultsDisp).

toResultsErrDisp :: Text -> ResultsWithErrs -> ResultsWithErrsDisp Source #

Transforms the ResultsWithErrs into a ResultsWithErrsDisp for display purposes. Strips out the prefix from the branches, if it exists.