remove encoder notes (have already been incorporated into lib interface)

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
Alex Goodman 2021-10-10 19:02:00 -07:00
parent c6447cb62b
commit 055542694f
No known key found for this signature in database
GPG Key ID: 5CB45AE22BAB7EA7

View File

@ -8,15 +8,4 @@ import (
"github.com/anchore/syft/syft/source"
)
// TODO: this should probably be a helper function to return the bytes
//func using() {
// var buff bytes.Buffer
// var encoder Encoder // = ...
//
// _:=encoder(&buff, nil, nil, nil)
//
// bytes.NewReader(buff.Bytes())
//
//}
type Encoder func(io.Writer, *pkg.Catalog, *source.Metadata, *distro.Distro) error