package tvloader
import "github.com/spdx/tools-golang/tvloader"
Package tvloader is used to load and parse SPDX tag-value documents into tools-golang data structures. SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
Index ¶
- func Load2_1(content io.Reader) (*v2_1.Document, error)
- func Load2_2(content io.Reader) (*v2_2.Document, error)
- func Load2_3(content io.Reader) (*v2_3.Document, error)
Functions ¶
func Load2_1 ¶
Load2_1 takes an io.Reader and returns a fully-parsed SPDX Document (version 2.1) if parseable, or error if any error is encountered.
func Load2_2 ¶
Load2_2 takes an io.Reader and returns a fully-parsed SPDX Document (version 2.2) if parseable, or error if any error is encountered.
func Load2_3 ¶
Load2_3 takes an io.Reader and returns a fully-parsed SPDX Document (version 2.2) if parseable, or error if any error is encountered.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
tvloader/parser2v1 | Package parser2v1 contains functions to read, load and parse SPDX tag-value files. |
tvloader/parser2v2 | Package parser2v2 contains functions to read, load and parse SPDX tag-value files, version 2.2. |
tvloader/parser2v3 | Package parser2v3 contains functions to read, load and parse SPDX tag-value files, version 2.3. |
tvloader/reader |
- Version
- v0.4.0
- Published
- Jan 12, 2023
- Platform
- windows/amd64
- Imports
- 8 packages
- Last checked
- 3 minutes ago –
Tools for package owners.