package
0.31.0
Repository: https://go.googlesource.com/tools
Documentation: pkg.go.dev

# Packages

A command for building and maintaing the module cache a.out <flags> <command> <args> The commands are 'create' which builds a new index, 'update', which attempts to update an existing index, 'query', which looks up things in the index.

# Functions

Create always creates a new index for the go module cache that is in cachedir.
DirToImportPathVersion computes import path and semantic version.
ReadIndex reads the latest version of the on-disk index for the cache directory cd.
Update the index for the go module cache that is in cachedir, If there is no existing index it will build one.

# Constants

No description provided by the author
CurrentVersion tells readers about the format of the index.
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

IndexDir is where the module index is stored.

# Structs

No description provided by the author
Entry
An Entry contains information for an import path.
No description provided by the author
Index is returned by ReadIndex().

# Type aliases

distinguish various types of directory names.
No description provided by the author
No description provided by the author