repos

package
v0.0.0-...-191f7e2 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HUB string = "copr.fedorainfracloud.org"
)

Variables

This section is empty.

Functions

func ListCoprs

func ListCoprs(flags *pflag.FlagSet)

list installed coprs

Types

type Copr

type Copr struct {
	Author        string
	Reponame      string
	ReleaseServer string
}

func NewCopr

func NewCopr(args []string) Copr

Initialize new Copr if Argument matches the {Author}/{Reponame} pattern

func (Copr) Disable

func (c Copr) Disable()

if repo is enabled it disables it

func (Copr) Enable

func (c Copr) Enable()

if repo is installed, it enables ist otherwise it installes it

func (Copr) Remove

func (c Copr) Remove()

remove the repo file

Jump to

Keyboard shortcuts

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