package reporter
import "github.com/spdx/tools-golang/reporter"
Package reporter contains functions to generate a basic license count report from an in-memory SPDX Package section whose Files have been analyzed. SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
Index ¶
- func Generate2_1(pkg *spdx.Package2_1, w io.Writer) error
- func Generate2_2(pkg *spdx.Package2_2, w io.Writer) error
Functions ¶
func Generate2_1 ¶
func Generate2_1(pkg *spdx.Package2_1, w io.Writer) error
Generate2_1 takes a Package whose Files have been analyzed and an io.Writer, and outputs to the io.Writer a tabulated count of the number of Files for each unique LicenseConcluded in the set.
func Generate2_2 ¶
func Generate2_2(pkg *spdx.Package2_2, w io.Writer) error
Generate2_2 takes a Package whose Files have been analyzed and an io.Writer, and outputs to the io.Writer a tabulated count of the number of Files for each unique LicenseConcluded in the set.
Source Files ¶
- Version
- v0.3.0
- Published
- Apr 3, 2022
- Platform
- js/wasm
- Imports
- 5 packages
- Last checked
- 4 hours ago –
Tools for package owners.