Skip to content
Snippets Groups Projects
Forked from Platform / Development / swh-model
10 commits behind the upstream repository.
Pierre-Yves David's avatar
Pierre-Yves David authored
Before this patch giving `from_disk` and directory path with final '/'s
would confuses the exclusion code as it would assume it need to exclude
one extra character to get the basename. This would swallow the first
char of the directory to exclude, leading to a righful crash.

This would affect directory excluded in the first directory only as sub
directory would be called without a '/'.

We fix the path at the top of the function as trailing '/'s could
confuse other code too in the future.
ece18350
History
Name Last commit Last update
..
model