validateindex

package
v0.15.1 Latest Latest
Warning

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

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

Documentation

Overview

Package validateindex checks that index.json says what aqua reads it for.

The catalogue is one file holding the name and description of every package the registry has, because choosing a package means reading all of them before knowing which one is wanted. It is written by ar2 and merged without a reader, so this is where a file that would break searching is caught.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Validate

func Validate(w io.Writer, path string) error

Validate reads the catalogue at path and reports what is wrong with it.

Everything wrong is reported rather than the first thing: a file written by a program is usually wrong in the same way throughout, and a reader who fixes what the program does wants to see all of it.

Types

This section is empty.

Jump to

Keyboard shortcuts

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