package saver2v2

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

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

Index

Functions

func RenderDocument2_2

func RenderDocument2_2(doc *spdx.Document2_2, w io.Writer) error

RenderDocument2_2 is the main entry point to take an SPDX in-memory Document (version 2.2), 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
js/wasm
Imports
5 packages
Last checked
4 hours ago

Tools for package owners.