fixtures

package
v2.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: Apache-2.0 Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package fixtures maintains the checked-in test repository. It is not a production repository publisher: versions and expiry dates are fixture inputs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Regenerate

func Regenerate(dir string) error

Regenerate updates target hashes and metadata dependencies, re-signs the fixture chain, and verifies it in memory before writing any metadata files. Valid unchanged fixtures are left byte-for-byte intact. Existing versions, expiry dates, paths and optional metadata hash/length policies are preserved.

func Verify

func Verify(dir string) error

Verify checks the signature chain, dependency versions/hashes/lengths, expiry, and every target's bytes. The historical parse-only 1.root.json is excluded.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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