repo

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2017 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 {
	Owner string
	Name  string
}

Repo uniquely identifies a GitHub repository.

func Guess

func Guess(git gateway.Git) (*Repo, error)

Guess determines the Repo name based on the current Git repository's remotes.

func Parse

func Parse(value string) (*Repo, error)

Parse parses a repository name in the format 'owner/repo'.

func (*Repo) String

func (r *Repo) String() string

Jump to

Keyboard shortcuts

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