remote

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OpenGitConfig

func OpenGitConfig() (io.ReadCloser, error)

Types

type Remote

type Remote struct {
	URL   string
	Fetch string
}

func Get

func Get(reader io.Reader, name string) (remote *Remote, err error)

func GetFromGitConfig

func GetFromGitConfig(name string) (remote *Remote, err error)

func (Remote) Repository

func (remote Remote) Repository() string

Jump to

Keyboard shortcuts

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