vcs

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2019 License: CC0-1.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetVCSFolderContents added in v1.1.4

func GetVCSFolderContents(directory string) []string

GetVCSFolderContents determines if there are actual files in the VCS dir

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
Code generated by mockery v1.0.0.
Code generated by mockery v1.0.0.

Jump to

Keyboard shortcuts

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