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

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