pin

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pin

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

func NewPin

func NewPin(client *gogithub.Client, ignoreOwners, ignoreRepos []string, strictPinning202508 bool) Pin

func (*Pin) Apply

func (p *Pin) Apply(ctx context.Context, input string) (string, bool, error)

Apply replaces input YAML content then returns the modified content, a boolean indicating if any replacements were made, and an error if any occurred.

Jump to

Keyboard shortcuts

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