cachedir

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2025 License: Apache-2.0, BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Overview

Package cachedir implements an annotator for packages that are in cache directories.

Index

Constants

View Source
const (
	// Name of the Annotator.
	Name = "vex/cachedir"
)

Variables

This section is empty.

Functions

func New

func New() annotator.Annotator

New returns a new Annotator.

Types

type Annotator

type Annotator struct{}

Annotator adds annotations to packages that are in cache directories.

func (Annotator) Annotate

func (Annotator) Annotate(ctx context.Context, input *annotator.ScanInput, results *inventory.Inventory) error

Annotate adds annotations to packages that are in cache directories.

func (Annotator) Name

func (Annotator) Name() string

Name of the annotator.

func (Annotator) Requirements

func (Annotator) Requirements() *plugin.Capabilities

Requirements of the annotator.

func (Annotator) Version

func (Annotator) Version() int

Version of the annotator.

Jump to

Keyboard shortcuts

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