tools-golang – github.com/spdx/tools-golang Directories

tools-golang/ directory

Directories

PathSynopsis
builderPackage builder is used to create tools-golang data structures for a given directory path's contents, with hashes, etc.
builder/builder2v1
builder/builder2v2
examples
examples/1-load
examples/2-load-save
examples/3-build
examples/4-search
examples/5-report
examples/6-licensediff
examples/7-rdfloader
idsearcherPackage idsearcher is used to search for short-form IDs in files within a directory, and to build an SPDX Document containing those license findings.
licensediffPackage licensediff is used to generate a "diff" between the concluded licenses in two SPDX Packages, using the filename as the match point.
rdfloader
rdfloader/parser2v2SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later copied from tvloader/parser2v2/types.go
reporterPackage reporter contains functions to generate a basic license count report from an in-memory SPDX Package section whose Files have been analyzed.
spdxPackage spdx contains the struct definition for an SPDX Document and its constituent parts.
spdxlibPackage spdxlib contains convenience and utility functions for working with an SPDX document that has already been created in memory.
tvloaderPackage tvloader is used to load and parse SPDX tag-value documents into tools-golang data structures.
tvloader/parser2v1Package parser2v1 contains functions to read, load and parse SPDX tag-value files.
tvloader/parser2v2Package parser2v2 contains functions to read, load and parse SPDX tag-value files, version 2.2.
tvloader/reader
tvsaverPackage tvsaver is used to save tools-golang data structures as SPDX tag-value documents.
tvsaver/saver2v1Package saver2v1 contains functions to render and write a tag-value formatted version of an in-memory SPDX document and its sections (version 2.1).
tvsaver/saver2v2Package saver2v2 contains functions to render and write a tag-value formatted version of an in-memory SPDX document and its sections (version 2.2).
utilsPackage utils contains various utility functions to support the main tools-golang packages.
Version
v0.1.0
Published
Mar 20, 2021
Platform
js/wasm
Last checked
now

Tools for package owners.