Where is the documentation for .ignore format? #2895
-
Is there an official spec for what goes in a .ignore file? I like the spirit of it but I can't seem to find a user-oriented explanation of how it's supposed to work. Starting from https://crates.io/crates/ignore and https://docs.rs/ignore/, I'm not seeing any explanation of what goes in .ignore files besides the description hinting that it relates to .gitignore files. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
It's mentioned in the guide:
I suppose it's not fully precise in that it says Also, the |
Beta Was this translation helpful? Give feedback.
It's mentioned in the guide:
I suppose it's not fully precise in that it says
.gitignore
and not.ignore
. But.ignore
has the same semantics as.gitignore
. The only reason it's in a distinct file is for precedence reasons.Also, the
ignore
crate API and documentation are in general severely lacking. It's effectively a proof of concept that works decently enough.