javalockfile

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2026 License: Apache-2.0, BSD-3-Clause, MIT Imports: 1 Imported by: 0

Documentation

Overview

Package javalockfile provides shared structures for Java extractors.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metadata

type Metadata struct {
	ArtifactID   string
	GroupID      string
	Type         string
	Classifier   string
	DepGroupVals []string
	IsTransitive bool // Only set in pomxmlnet extractor
}

Metadata holds parsing information for a Java package.

func ToStruct added in v0.4.2

func ToStruct(m *pb.JavaLockfileMetadata) *Metadata

ToStruct converts the JavaLockfileMetadata proto to a Metadata struct.

func (Metadata) DepGroups

func (m Metadata) DepGroups() []string

DepGroups returns the dependency groups for the package.

func (*Metadata) SetProto added in v0.4.2

func (m *Metadata) SetProto(p *pb.Package)

SetProto sets the JavaLockfileMetadata field in the Package proto.

Jump to

Keyboard shortcuts

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