blob: c2c2fea6fdffe8746ceed2302828c0d2e97fe656 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
package scanner
import "context"
type Scanner struct {
roots []string
}
func New(roots []string) *Scanner {
return &Scanner{
roots: roots,
}
}
// Scan walks every configured root and returns the discovered files.
//
// The returned slice is not guaranteed to be sorted.
func (s *Scanner) Scan(ctx context.Context) ([]File, error) {
return nil, nil
}
|