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 Generate

func Generate(pkg *spdx.Package, w io.Writer) error

Generate 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.5.5 (latest)
Published
Jun 17, 2024
Platform
linux/amd64
Imports
5 packages
Last checked
3 weeks ago

Tools for package owners.