repo

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrIsExistRepo

func ErrIsExistRepo(err error) bool

Types

type RepoElem

type RepoElem struct {
	Name string `json:"name,omitempty"`
	Url  string `json:"url,omitempty"`
}

type Repos

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

func NewRepos

func NewRepos(settings *cli.EnvSettings) *Repos

func (*Repos) Add

func (r *Repos) Add(name, url, username, password string) error

func (*Repos) List

func (r *Repos) List() ([]*RepoElem, error)

func (*Repos) Update

func (r *Repos) Update(name string) error

Jump to

Keyboard shortcuts

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