pub fn catch_all_present(path: &Path) -> Result<bool>Expand description
Whether the attributes file at path carries the catch-all line.
The one question that decides whether git invokes the filter at all, so both
lock and status ask it — through the same function, because two spellings
of “is the guarantee in place” is one too many. An absent file answers false
rather than failing: it is missing the line as surely as an empty one is.
§Errors
Error::Io when the file exists but cannot be read, Error::Config when
it is not text.