vcsutil

package
v0.0.0-...-f2f6987 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2014 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionContext

type ActionContext interface {
	SignalProgress() error
	Stdout() io.Writer
	Stderr() io.Writer
	Interrupted() <-chan struct{}
}

type VCS

type VCS interface {
	Clone(repoURL *url.URL, srcDir string, ctx ActionContext) error
	Pull(repoURL *url.URL, srcDir string, ctx ActionContext) error
}

func GetVCS

func GetVCS(scheme string) (VCS, error)

Jump to

Keyboard shortcuts

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