vcs

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2016 License: CC0-1.0 Imports: 3 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct{}

Manager is the concrete implementation of RepoManager

func (Manager) Clone

func (m Manager) Clone(url string, revision string, dir string) error

Clone will clone the repo to a specified location and then checkout the repo at the particular revision.

type RepoManager

type RepoManager interface {
	Clone(url string, revision string, dir string) error
}

RepoManager is the interface for how to do jobs with VCS

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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