package tvsaver
import "github.com/spdx/tools-golang/tvsaver"
Package tvsaver is used to save tools-golang data structures as SPDX tag-value documents. SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
Index ¶
- func Save2_1(doc *spdx.Document2_1, w io.Writer) error
- func Save2_2(doc *spdx.Document2_2, w io.Writer) error
Functions ¶
func Save2_1 ¶
func Save2_1(doc *spdx.Document2_1, w io.Writer) error
Save2_1 takes an io.Writer and an SPDX Document (version 2.1), and writes it to the writer in tag-value format. It returns error if any error is encountered.
func Save2_2 ¶
func Save2_2(doc *spdx.Document2_2, w io.Writer) error
Save2_2 takes an io.Writer and an SPDX Document (version 2.2), and writes it to the writer in tag-value format. It returns error if any error is encountered.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
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). |
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). |
- Version
- v0.2.0
- Published
- Jul 4, 2021
- Platform
- js/wasm
- Imports
- 4 packages
- Last checked
- 4 hours ago –
Tools for package owners.