packagesuppliers/filesystem.d: Only look for versions of package_id
When looking for versions of a package don't include any files that
aren't versions of the queried package.

If a directory contains the files botan-1.zip and botan-math-2.zip
the current implementation would report both 1 and math-2 as
candidates followed by an error that math-2 is not a valid version.

Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
1 parent 3a3faee commit 52b8339e18a8d503b1cf6bbe95c87ff7dc118bfb
@Andrei Horodniceanu Andrei Horodniceanu authored on 17 Dec 2023
Mathias LANG committed on 17 Jan 2024
Showing 1 changed file
View
source/dub/packagesuppliers/filesystem.d