replay

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2026 License: Apache-2.0 Imports: 6 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EntryResult

type EntryResult struct {
	Position          int
	URI               string
	MaterializationID string
	RecordedHash      string
	ReplayedHash      string
	Content           []byte
	Match             bool
}

EntryResult verifies one manifest entry by recomputing the content hash from the bytes actually retrieved from the blob store — a true reconstruction check, not just a comparison of two stored copies of the same value.

type Replayer

type Replayer struct {
	Manifests        manifest.Store
	Materializations materialization.Store
	Blobs            blob.Store
}

Replayer reconstructs content purely from manifest_entries -> materializations -> blob store. It never re-fetches from the live source, proving a manifest is a durable, replayable record independent of source availability.

func (*Replayer) Replay

func (r *Replayer) Replay(ctx context.Context, manifestOrRun string) (Result, error)

type Result

type Result struct {
	Manifest manifest.Manifest
	Entries  []EntryResult
}

func (Result) AllMatch

func (r Result) AllMatch() bool

Jump to

Keyboard shortcuts

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