git

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2016 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repo

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

Repo represents a git repository

func NewGitRepo added in v0.7.0

func NewGitRepo(fullName, folder string) Repo

NewGitRepo creates a new Github Repo with the fullName and local folder.

func (Repo) Download

func (r Repo) Download() error

Download clones a repository

func (Repo) Folder

func (r Repo) Folder() string

Folder where the repo was cloned

func (Repo) Name

func (r Repo) Name() string

Name of the repo

func (Repo) Update

func (r Repo) Update() error

Update updates a repository

Jump to

Keyboard shortcuts

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