git

package
v0.0.0-...-88c5ffe Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clone

func Clone(
	repository *github.Repository,
	destination string,
	protocol Protocol,
	sshOptions ssh.Options,
) error

func Pull

func Pull(
	repositoryDirectory string,
	sshOptions ssh.Options,
) error

Types

type Protocol

type Protocol int
const (
	SSH Protocol = iota + 1
	HTTPS
	Git
)

func ToProtocol

func ToProtocol(value string) (Protocol, error)

func (Protocol) String

func (protocol Protocol) String() string

Jump to

Keyboard shortcuts

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