Help us shape the future of Go! Take the 2026 Go Developer Survey

changeset

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Overview

Package changeset verifies dependency edits across explicit repository snapshots.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, manifest Manifest, options engine.Options) (engine.Result, int, error)

Run validates every source repository against the same pinned change set. No command reads source contents from the working tree or contacts the network.

Types

type Manifest

type Manifest struct {
	Version      int          `yaml:"version"`
	Repositories []Repository `yaml:"repositories"`
}

Manifest selects one immutable comparison per declared repository.

func LoadManifest

func LoadManifest(filename string) (Manifest, error)

type Repository

type Repository struct {
	Repo string `yaml:"repo"`
	Path string `yaml:"path"`
	VCS  string `yaml:"vcs"`
	Base string `yaml:"base"`
	Head string `yaml:"head"`
}

Jump to

Keyboard shortcuts

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