Documentation ¶
Overview ¶
Package analysis defines interfaces used to locate and analyze compilation units and their inputs.
Implementations of the Fetcher interface express the ability to read file contents from index files, local files, index packs, and other storage.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fetcher ¶
type Fetcher interface { // Fetch retrieves the contents of a single file. At least one of path and // digest must be provided; both are preferred. The implementation may // return an error if both are not set. Fetch(path, digest string) ([]byte, error) }
A Fetcher provides the ability to fetch file contents from storage.
Click to show internal directories.
Click to hide internal directories.