package spdxlib

import "github.com/spdx/tools-golang/spdxlib"

Package spdxlib contains convenience and utility functions for working with an SPDX document that has already been created in memory. SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later

Index

Functions

func GetDescribedPackageIDs2_1

func GetDescribedPackageIDs2_1(doc *spdx.Document2_1) ([]spdx.ElementID, error)

GetDescribedPackageIDs2_1 returns a slice of ElementIDs for all Packages in this Document that it "describes," according to SPDX rules:

-

func GetDescribedPackageIDs2_2

func GetDescribedPackageIDs2_2(doc *spdx.Document2_2) ([]spdx.ElementID, error)

GetDescribedPackageIDs2_2 returns a slice of ElementIDs for all Packages in this Document that it "describes," according to SPDX rules:

-

Source Files

described_elements.go

Version
v0.1.0
Published
Mar 20, 2021
Platform
linux/amd64
Imports
3 packages
Last checked
24 seconds ago

Tools for package owners.