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

Safe HaskellNone
LanguageHaskell2010

Git.Vogue.Types

Synopsis

Documentation

data VogueOptions #

Options parsed from the command-line.

Instances
Eq VogueOptions # 
Instance details

Defined in Git.Vogue.Types

Show VogueOptions # 
Instance details

Defined in Git.Vogue.Types

data VCSType #

Constructors

Git 
Null 
Instances
Eq VCSType # 
Instance details

Defined in Git.Vogue.Types

Methods

(==) :: VCSType -> VCSType -> Bool #

(/=) :: VCSType -> VCSType -> Bool #

Show VCSType # 
Instance details

Defined in Git.Vogue.Types

data VogueCommand #

Commands, with parameters, to be executed.

Constructors

CmdInit

Add git-vogue support to a git repository.

CmdVerify

Verify that support is installed and plugins happen.

CmdPlugins

List the plugins that git-vogue knows about.

CmdDisable PluginName

Disable a plugin

CmdEnable PluginName

Enable a plugin

CmdRunCheck

Run check plugins on files in a git repository.

CmdRunFix

Run fix plugins on files in a git repository.

Instances
Eq VogueCommand # 
Instance details

Defined in Git.Vogue.Types

Show VogueCommand # 
Instance details

Defined in Git.Vogue.Types

data Check #

Phantom type for Statuses related to checking

data Fix #

Phantom type for Statuses related to fixing

data Result #

Result of running a Plugin

Instances
Eq Result # 
Instance details

Defined in Git.Vogue.Types

Methods

(==) :: Result -> Result -> Bool #

(/=) :: Result -> Result -> Bool #

Ord Result # 
Instance details

Defined in Git.Vogue.Types

Show Result # 
Instance details

Defined in Git.Vogue.Types

data Plugin m #

A plugin that can be told to check or fix a list of files

Constructors

Plugin 
Instances
Eq (Plugin m) # 
Instance details

Defined in Git.Vogue.Types

Methods

(==) :: Plugin m -> Plugin m -> Bool #

(/=) :: Plugin m -> Plugin m -> Bool #

Ord (Plugin m) # 
Instance details

Defined in Git.Vogue.Types

Methods

compare :: Plugin m -> Plugin m -> Ordering #

(<) :: Plugin m -> Plugin m -> Bool #

(<=) :: Plugin m -> Plugin m -> Bool #

(>) :: Plugin m -> Plugin m -> Bool #

(>=) :: Plugin m -> Plugin m -> Bool #

max :: Plugin m -> Plugin m -> Plugin m #

min :: Plugin m -> Plugin m -> Plugin m #

Show (Plugin m) # 
Instance details

Defined in Git.Vogue.Types

Methods

showsPrec :: Int -> Plugin m -> ShowS #

show :: Plugin m -> String #

showList :: [Plugin m] -> ShowS #

data SearchMode #

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

Instances
Eq SearchMode # 
Instance details

Defined in Git.Vogue.Types

Show SearchMode # 
Instance details

Defined in Git.Vogue.Types

data PluginDiscoverer m #

A thing that can find plugins, for example we might search through the libexec directory for executables.

Constructors

PluginDiscoverer 

Fields

data VCS m #

A VCS backend, such as git.

Constructors

VCS 

Fields