osv

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2025 License: Apache-2.0 Imports: 0 Imported by: 2

Documentation

Overview

Package osv defines OSV-specific fields for parsed source packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DepGroupMetadata added in v0.1.3

type DepGroupMetadata struct {
	DepGroupVals []string
}

DepGroupMetadata is a metadata struct that only supports DepGroups

func (DepGroupMetadata) DepGroups added in v0.1.3

func (dgm DepGroupMetadata) DepGroups() []string

DepGroups return the dependency groups property in the metadata

type DepGroups added in v0.1.3

type DepGroups interface {
	DepGroups() []string
}

DepGroups provides access to the list of dependency groups a package item belongs to. Dependency groups are used by many language package managers as a way to organize dependencies (e.g. development dependencies will be in the "dev" group)

type Metadata

type Metadata struct {
	PURLType  string
	Commit    string
	Ecosystem string
	CompareAs string
}

Metadata holds parsing information for packages extracted by an OSV extractor wrapper.

Jump to

Keyboard shortcuts

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