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) (*spdx.Document2_1, error)
- func Load2_2(content io.Reader) (*spdx.Document2_2, error)
Functions ¶
func Load2_1 ¶
func Load2_1(content io.Reader) (*spdx.Document2_1, error)
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 ¶
func Load2_2(content io.Reader) (*spdx.Document2_2, error)
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.
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/reader |
- Version
- v0.1.0
- Published
- Mar 20, 2021
- Platform
- windows/amd64
- Imports
- 5 packages
- Last checked
- 3 minutes ago –
Tools for package owners.