yay

package
v0.0.0-...-e5c115e Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package yay contains an updates.Provider that uses `yay` to check for Arch Linux package updates.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AUROnly

func AUROnly(p *Provider)

AUROnly option makes yay only check for updates for AUR packages.

Types

type Option

type Option func(p *Provider)

Option is a func that can be passed to New to configure the yay update provider.

type Provider

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

func New

func New(options ...Option) *Provider

New creates a new *Provider and configures it with the provided options.

func (*Provider) Updates

func (p *Provider) Updates() (updates.Info, error)

Updates implements updates.Provider.

Jump to

Keyboard shortcuts

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