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 *v2_2.Document, 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.4.0
Published
Jan 12, 2023
Platform
linux/amd64
Imports
6 packages
Last checked
10 seconds ago

Tools for package owners.