git

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Factory

Factory is the factory function for creating the backend for Git as a project retrieval method.

Types

type Backend

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

Backend is the backend for project retrieval using Git.

func (*Backend) Retrieve

func (b *Backend) Retrieve(ctx context.Context, src string, dir string) error

Retrieve clones a remote Git repository specified by src to a local dir.

Jump to

Keyboard shortcuts

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