Skip to content

Align search w/ gemnasium-maven using Readdirnames

Fabien Catteau requested to merge 263441-search into master

What does this MR do?

Rewrite scanner/finder using File.Readdirnames, similar to what already exists in gemnasium-maven. Files contained in a directory are checked before entering sub-directory.

The new code contains TODOs for future changes that will ultimately unify the search across all Gemnasium projects.

Behavior doesn't change but the dependency files might be processed in a different order. This results in no different in the case of gemnasium because it scans all supported files.

What are the relevant issue numbers?

gitlab-org/gitlab#263441 (closed)

Does this MR meet the acceptance criteria?

Edited by Fabien Catteau

Merge request reports