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

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

reporter.go

Version
v0.1.0
Published
Mar 20, 2021
Platform
linux/amd64
Imports
5 packages
Last checked
1 minute ago

Tools for package owners.