| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Git.Vogue.Types
Synopsis
- data VogueOptions = Options {}
- data VCSType
- data VogueCommand
- data Check
- data Fix
- data Result
- data Plugin m = Plugin {}
- newtype PluginName = PluginName {
- unPluginName :: Text
- data SearchMode
- data PluginDiscoverer m = PluginDiscoverer {
- discoverPlugins :: m [Plugin m]
- disablePlugin :: PluginName -> m ()
- enablePlugin :: PluginName -> m ()
- data VCS m = VCS {
- getFiles :: SearchMode -> m [FilePath]
- installHook :: m ()
- removeHook :: m ()
- checkHook :: m Bool
- getTopLevel :: m FilePath
Documentation
data VogueOptions #
Options parsed from the command-line.
Constructors
| Options | |
Fields
| |
Instances
| Eq VogueOptions # | |
Defined in Git.Vogue.Types | |
| Show VogueOptions # | |
Defined in Git.Vogue.Types Methods showsPrec :: Int -> VogueOptions -> ShowS # show :: VogueOptions -> String # showList :: [VogueOptions] -> ShowS # | |
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 # | |
Defined in Git.Vogue.Types | |
| Show VogueCommand # | |
Defined in Git.Vogue.Types Methods showsPrec :: Int -> VogueCommand -> ShowS # show :: VogueCommand -> String # showList :: [VogueCommand] -> ShowS # | |
A plugin that can be told to check or fix a list of files
Constructors
| Plugin | |
newtype PluginName #
Constructors
| PluginName | |
Fields
| |
Instances
data SearchMode #
We want the flexibility of just checking changed files, or maybe checking all of them.
Constructors
| FindAll | |
| FindChanged | |
| FindSpecific [FilePath] |
Instances
| Eq SearchMode # | |
Defined in Git.Vogue.Types | |
| Show SearchMode # | |
Defined in Git.Vogue.Types Methods showsPrec :: Int -> SearchMode -> ShowS # show :: SearchMode -> String # showList :: [SearchMode] -> ShowS # | |
data PluginDiscoverer m #
A thing that can find plugins, for example we might search through the libexec directory for executables.
Constructors
| PluginDiscoverer | |
Fields
| |
A VCS backend, such as git.
Constructors
| VCS | |
Fields
| |