Documentation ¶
Overview ¶
Package vcs implements functions for interacting with version control systems.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoVCSInDir = errors.New("could not find VCS repository in directory") ErrNoNearestVCS = errors.New("could not find nearest VCS repository in directory") ErrUnsupportedVCS = errors.New("VCS type is not supported") )
Errors that occur when finding VCS repositories.
View Source
var Types = [4]VCS{ Subversion, Git, Mercurial, Bazaar, }
Functions ¶
func GetRepository ¶
GetRepository returns the location of the repository containing dirname, ErrNoNearestVCS if none is found, or errors.ErrNotImplemented if an unsupported VCS is found.
func MetadataFolder ¶ added in v0.7.2
Types ¶
Click to show internal directories.
Click to hide internal directories.