-
I run:
it reports checking 239 links. OK, let's try just md files.
Whaaa? OK, let's try verbose mode to figure why this is happening.
OK... I Edit: OK, so But I still don't understand the behavior of selecting inputs. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
In the current implementation, globs don't respect The code is here: We considered switching to globset, but it also wouldn't respect |
Beta Was this translation helpful? Give feedback.
In the current implementation, globs don't respect
.gitignore
.We use the glob crate, which doesn't provide this functionality.
The code is here:
https://github.com/thomas-zahner/lychee/blob/76dbd843f4b3360821153df1685914ba08682e07/lychee-lib/src/types/input.rs#L298-L303
We considered switching to globset, but it also wouldn't respect
.gitinore
files. (It would allow multiple glob patterns, though!)I am not aware of any other crate which respects the
.gitinore
file, but we could implement it ourselves.