mirror of
https://github.com/anchore/syft.git
synced 2026-11-01 06:56:40 +01:00
* remove sbom.writer bytes call and consolidate helpers to options pkg Signed-off-by: Alex Goodman <alex.goodman@anchore.com> * dont close stdout Signed-off-by: Alex Goodman <alex.goodman@anchore.com> * remove close operation from multiwriter Signed-off-by: Alex Goodman <alex.goodman@anchore.com> --------- Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
7 lines
114 B
Go
7 lines
114 B
Go
package sbom
|
|
|
|
// Writer an interface to write SBOMs to a destination
|
|
type Writer interface {
|
|
Write(SBOM) error
|
|
}
|