BaseDirectoryLoader: migrate to new swh.model Directory filtering API
This reimplements dir_filter in terms of path_filter to keep the backwards-compatibility with other users of the swh-loader-core API.
cc. @Alphare
This reimplements dir_filter in terms of path_filter to keep the backwards-compatibility with other users of the swh-loader-core API.
cc. @Alphare