(ctx context.Context, parent *model.File, files []*model.File, call model.ResCallback)
| 18 | } |
| 19 | |
| 20 | func (sca Sca) Sca(ctx context.Context, parent *model.File, files []*model.File, call model.ResCallback) { |
| 21 | for _, f := range files { |
| 22 | if filter.RustCargoLock(f.Relpath()) { |
| 23 | root := ParseCargoLock(f) |
| 24 | if root != nil && len(root.Children) > 0 { |
| 25 | call(f, root) |
| 26 | } |
| 27 | } |
| 28 | } |
| 29 | } |
nothing calls this directly
no test coverage detected