6-licensediff command

This example demonstrates loading two SPDX tag-value files from disk into memory, and generating a diff of the concluded licenses for Files in Packages with matching IDs in each document. This is generally only useful when run with two SPDX documents that describe licenses for subsequent versions of the same set of files, AND if they have the same identifier in both documents. Run project: go run example_licensediff.go ../sample-docs/tv/hello.spdx ../sample-docs/tv/hello-modified.spdx

Version
v0.5.4
Published
Apr 16, 2024
Platform
darwin/amd64
Imports
6 packages
Last checked
8 minutes ago

Tools for package owners.