mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 16:33:21 +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:
parent
c6447cb62b
commit
055542694f
@ -8,15 +8,4 @@ import (
|
|||||||
"github.com/anchore/syft/syft/source"
|
"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
|
type Encoder func(io.Writer, *pkg.Catalog, *source.Metadata, *distro.Distro) error
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user