pub fn path_has_gitattribute(
rules: &[AttrRule],
path: &str,
is_dir: bool,
attr_name: &str,
) -> boolExpand description
Returns whether gitattribute attr_name is set (last matching rule wins), for arbitrary
attribute names used by pathspec :(attr:...).
is_dir is whether path refers to a directory (see get_file_attrs).