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
Click to show internal directories.
Click to hide internal directories.