git

package
v0.0.0-...-5001955 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func List

func List() map[string]string

func User

func User() string

Types

type GitHubRepository

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

func (*GitHubRepository) CheckoutURL

func (ghr *GitHubRepository) CheckoutURL(useSSH bool) string

func (*GitHubRepository) Clone

func (ghr *GitHubRepository) Clone(path string) error

func (*GitHubRepository) Host

func (ghr *GitHubRepository) Host() string

func (*GitHubRepository) Name

func (ghr *GitHubRepository) Name() string

func (*GitHubRepository) Owner

func (ghr *GitHubRepository) Owner() string

func (*GitHubRepository) URL

func (ghr *GitHubRepository) URL() string

type Repository

type Repository interface {
	Clone(path string) error
	CheckoutURL(useSecure bool) string
	Host() string
	Name() string
	Owner() string
	URL() string
}

func NewRepository

func NewRepository(nameWithOwner string) Repository

Jump to

Keyboard shortcuts

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