readFrom

Reads Go build information from a file.

Return

Go build information object

Parameters

file

The opened file

Throws

if SBOM data cannot be found in the file

if an error occurs during SBOM reading