spdx

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SPDXProcessor

type SPDXProcessor struct {
}

SPDXProcessor processes SPDX documents. Currently only supports JSON SPDX documents

func (*SPDXProcessor) Unpack

Unpack takes in the document and tries to unpack it if there is a valid decomposition of sub-documents.

Returns empty list and nil error if nothing to unpack Returns unpacked list and nil error if successfully unpacked

func (*SPDXProcessor) ValidateSchema

func (p *SPDXProcessor) ValidateSchema(d *processor.Document) error

Jump to

Keyboard shortcuts

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