verify

package
v0.8.97 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2026 License: CC0-1.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Command = &cobra.Command{
	Use:   "verify",
	Short: "Verify the validity of one or many WARC file(s)",
	Args:  cobra.MinimumNArgs(1),
	Run:   verify,
}

Command represents the verify command

Functions

This section is empty.

Types

type ValidationResult

type ValidationResult struct {
	Valid          bool
	RecordCount    int
	ErrorsCount    int
	AllRecordsRead bool
}

ValidationResult holds the result of WARC file validation

func ValidateWARCFile

func ValidateWARCFile(filepath string) (ValidationResult, error)

ValidateWARCFile validates a single WARC file and returns structured results

Jump to

Keyboard shortcuts

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