package saver2v1

import "github.com/spdx/tools-golang/tvsaver/saver2v1"

Package saver2v1 contains functions to render and write a tag-value formatted version of an in-memory SPDX document and its sections (version 2.1). SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later

Index

Functions

func RenderDocument2_1

func RenderDocument2_1(doc *spdx.Document2_1, w io.Writer) error

RenderDocument2_1 is the main entry point to take an SPDX in-memory Document (version 2.1), and render it to the received io.Writer. It is only exported in order to be available to the tvsaver package, and typically does not need to be called by client code.

Source Files

save_annotation.go save_creation_info.go save_document.go save_file.go save_other_license.go save_package.go save_relationship.go save_review.go save_snippet.go util.go

Version
v0.2.0
Published
Jul 4, 2021
Platform
windows/amd64
Imports
5 packages
Last checked
7 minutes ago

Tools for package owners.