Hish-0.1.0.1

Safe HaskellNone
LanguageHaskell2010

Hish.VCS

Contents

Synopsis

Version Control System

class VCS a where Source

Every version control system provides functions as follows

Methods

vcsAhead :: a -> String -> Maybe String Source

tracking ahead

vcsBehind :: a -> String -> Maybe String Source

tracking behind

vcsCleanliness :: a -> String -> Maybe String Source

determining the cleanliness of working-tree

  • # - clean working directory
  • ? - clean but existing untracked file
  • * - dirty

vcsCurrentBranch :: a -> String -> Maybe String Source

Git

data Git Source

Unit type for presenting Git.

Constructors

Git 

Instances

Darcs

data Darcs Source

Unit type for presenting Darcs. UN-IMPLEMENTED!

Constructors

Darcs 

Instances