.gitignore + glob matching (gix-ignore + gix-glob equivalent)
pub struct Rule {
base : String
pattern : String
pattern_chars : FixedArray[UInt16]
pattern_segments : Array[FixedArray[UInt16]]
negated : Bool
dir_only : Bool
anchored : Bool
has_slash : Bool
base_len : Int
}fn match_glob(pattern : String, text : String) -> Bool.gitignore + glob matching (gix-ignore + gix-glob equivalent)