vcs

package
v0.0.0-...-f8895a0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2013 License: MIT Imports: 7 Imported by: 0

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL