validateindex

package
v0.15.45 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2026 License: MIT Imports: 6 Imported by: 1 module, 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 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