mirror of
https://github.com/anchore/syft.git
synced 2026-10-30 14:02:26 +01:00
remove encoder notes (have already been incorporated into lib interface)
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user