This method uses a manual precedence implementation for rules.
This method uses a manual precedence implementation for rules.
The last rule to match a path will be used to determine if it is ignored.
It is recommended to pass a relativeTo file to avoid matching against
absolute paths.
a file which the subject path with be resolved relative to.
whether or not the file should be ignored