git-vogue-0.1.0.3: A framework for pre-commit checks.

Safe HaskellNone
LanguageHaskell2010

Git.Vogue.Types

Synopsis

Documentation

data Check Source

Phantom type for Statuses related to checking

data Fix Source

Phantom type for Statuses related to fixing

data Status a Source

Result of running a Plugin

Instances

Eq (Status a) 
Ord (Status a) 
Show (Status a) 

newtype Plugin Source

Absolute path to an executable

Constructors

Plugin 

Fields

unPlugin :: FilePath
 

newtype PluginName Source

Nice, human readable name of a plugin

Constructors

PluginName 

Fields

unPluginName :: Text
 

data SearchMode Source

We want the flexibility of just checking changed files, or maybe checking all of them.

Constructors

FindAll 
FindChanged 

data PluginExecutorImpl m Source

An implementation of a "runner" of plugins. Mostly for easy testing.