-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove files after creating SBOM (#107)
* wip: remove files after return * wip: removing files after creating sboms * do not continue on invalid sboms * remove gh actions
- Loading branch information
David Wertenteil
authored
Jul 24, 2023
1 parent
cdc49c3
commit ad37eb1
Showing
4 changed files
with
64 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,9 @@ | ||
package filehandler | ||
|
||
import ( | ||
"context" | ||
) | ||
|
||
type FileHandler interface { | ||
AddFile(ctx context.Context, bucket, file string) error | ||
AddFile(bucket, file string) error | ||
AddFiles(bucket string, files map[string]bool) error | ||
Close() | ||
GetFiles(ctx context.Context, container string) (map[string]bool, error) | ||
RemoveBucket(ctx context.Context, bucket string) error | ||
GetFiles(container string) (map[string]bool, error) | ||
RemoveBucket(bucket string) error | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters