pub fn find_insertion_point(lines: &[CodeownersLine], pattern: &str) -> usizeExpand description
Find the best insertion point for a new pattern Uses heuristics to find a sensible location:
- Path similarity: near rules with similar directory prefixes
- Before catch-all rules (*, /**)
- End of file as fallback