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") )
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, errutil.ErrRepositoryNotFound if none is found, or errutil.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.