Skip to content

Commit 447e233

Browse files
feat: add Upload function to CodeScanner interface (#95)
2 parents f30710c + e8a8d44 commit 447e233

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

scan.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,14 @@ type codeScanner struct {
4848
}
4949

5050
type CodeScanner interface {
51+
Upload(
52+
ctx context.Context,
53+
requestId string,
54+
target scan.Target,
55+
files <-chan string,
56+
changedFiles map[string]bool,
57+
) (bundle.Bundle, error)
58+
5159
UploadAndAnalyze(
5260
ctx context.Context,
5361
requestId string,

0 commit comments

Comments
 (0)