package rdf

import "github.com/spdx/tools-golang/rdf"

Index

Functions

func Read

func Read(content io.Reader) (*spdx.Document, error)

Read takes an io.Reader and returns a fully-parsed current model SPDX Document or an error if any error is encountered.

func ReadInto

func ReadInto(content io.Reader, doc common.AnyDocument) error

ReadInto takes an io.Reader, reads in the SPDX document at the version provided and converts to the doc version

Source Files

reader.go

Version
v0.5.0-rc1
Published
Jan 17, 2023
Platform
windows/amd64
Imports
12 packages
Last checked
14 seconds ago

Tools for package owners.