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 *v2_1.Document, w io.Writer) error
- func Save2_2(doc *v2_2.Document, w io.Writer) error
- func Save2_3(doc *v2_3.Document, w io.Writer) error
Functions ¶
func Save2_1 ¶
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 ¶
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.
func Save2_3 ¶
Save2_3 takes an io.Writer and an SPDX Document (version 2.3), 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). |
tvsaver/saver2v3 | Package saver2v3 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.4.0
- Published
- Jan 12, 2023
- Platform
- linux/amd64
- Imports
- 7 packages
- Last checked
- 4 minutes ago –
Tools for package owners.