goop

package
v0.0.0-...-f537180 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2016 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GuessVCS

func GuessVCS(url string) string

func IdentifyVCS

func IdentifyVCS(url string) string

func RepoRootForImportPathWithURLOverride

func RepoRootForImportPathWithURLOverride(importPath string, url string) (*vcs.RepoRoot, error)

Types

type DownloadRecorder

type DownloadRecorder struct {
	// contains filtered or unexported fields
}

func NewDownloadRecorder

func NewDownloadRecorder(writer io.Writer) *DownloadRecorder

func (*DownloadRecorder) Downloads

func (d *DownloadRecorder) Downloads() []string

func (*DownloadRecorder) Write

func (d *DownloadRecorder) Write(p []byte) (n int, err error)

type Goop

type Goop struct {
	// contains filtered or unexported fields
}

func NewGoop

func NewGoop(dir string, stdin io.Reader, stdout io.Writer, stderr io.Writer) *Goop

func (*Goop) Exec

func (g *Goop) Exec(name string, args ...string) error

func (*Goop) Install

func (g *Goop) Install() error

func (*Goop) PrintEnv

func (g *Goop) PrintEnv()

func (*Goop) Update

func (g *Goop) Update() error

type UnsupportedVCSError

type UnsupportedVCSError struct {
	VCS string
}

func (*UnsupportedVCSError) Error

func (e *UnsupportedVCSError) Error() string

Jump to

Keyboard shortcuts

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