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.
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 NearestVCS ¶
NearestVCS returns the type and directory of the nearest VCS repository containing the directory, or ErrNoNearestVCS if none is found.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.