public SpdxDocument ReadSbom()

in JetBrains.SbomUtils/src/JetBrains.SbomUtils/SbomReader.cs [18:27]


    public SpdxDocument ReadSbom(string path)
    {
      if (!System.IO.File.Exists(path))
        throw new SbomValidationException("Provided path to the SBOM doesn't exist");

      using (var stream = System.IO.File.OpenRead(path))
      {
        return ReadSbom(stream);
      }
    }