HomeSoftware Heritage

from_disks: fix some of the pattern checking logic

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

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.

Commit No Longer Exists

This commit no longer exists in the repository.