fetch

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuth

func NewAuth(git string, sshkey string) (transport.AuthMethod, error)

NewAuth creates new AuthMethod based on URI.

Types

type Fetcher

type Fetcher interface {
	Fetch() (*object.Commit, error)
}

Fetcher fetching data from remote.

func NewFetcher

func NewFetcher(url string, directory string, branch string, auth transport.AuthMethod) Fetcher

NewFetcher creates new Fetcher.

Jump to

Keyboard shortcuts

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