Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Driver ¶
type Driver interface { // Clone a new working directory. Clone(dir, url string) (string, error) // Pull new changes from the server and update the working directory. Pull(dir string) (string, error) // Return the revision at the head of the vcs directory. HeadRev(dir string) (string, error) // Return a list of special filenames that should not be indexed. SpecialFiles() []string }
A "plugin" for each vcs that supports the very limited set of vcs operations that hound needs.
type MercurialDriver ¶
type MercurialDriver struct{}
func (*MercurialDriver) SpecialFiles ¶
func (g *MercurialDriver) SpecialFiles() []string
type SVNDriver ¶
func (*SVNDriver) SpecialFiles ¶
Click to show internal directories.
Click to hide internal directories.