Documentation ¶
Overview ¶
Package vcs provides functions to various Version Control Systems
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Checkout ¶
func Checkout(d dep.Dependency, clean bool) (result int)
Checkout uses the appropriate VCS to checkout the specified version of the code
func GetHead ¶
func GetHead(d dep.Dependency) (to_return string, err error)
GetHead - Render a revspec to a commit ID
func LastCommit ¶
func LastCommit(d dep.Dependency, branch string) (hash string, err error)
LastCommit uses the appropriate VCS to retrieve the version number of the last commit on branch
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.