something like git-check-ignore but considering only patterns?
- From
Britton Kerin <britton.kerin@gmail.com>
- Date
- Dec 28, 2021, 23:41 UTC
- Message-ID
- <CAC4O8c-2sxHyAjtd4jZQcjzX4d9+19AUx-h13nttjwP=pd1Ukw@mail.gmail.com>
I'd like to query if a file e.g. symLinkToDir/foo.o would be ignored if it were in a real dir instead (don't ask) but in a general way and hopefully without parsing and matching all the .gitignore entries myself. Is it possible?
Thanks, Britton