Skip to content
Snippets Groups Projects
Commit 6a38c4ad authored by Pierre-Yves David's avatar Pierre-Yves David
Browse files

from_disks: fix some of the pattern checking logic

The pattern were validated from $PWD and later applied on path relative
to `root_path`. So we shuffle a bit of code to test them againt
root_path. We make the absolute pattern relative in the same go.

This code is coming from swh-scanner and should probably get an
overhaul, how ever for now we start with making it no broken.
parent 2d65a24a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment