Grep engine over the working tree
Dependencies
impl Show for GrepExprTokenimpl Show for GrepLineMatchimpl Show for GrepMatchSpanimpl Show for GrepPatternTypefn grep_collect_expr_match_spans(message : String, expr : GrepExpr, pattern_type : GrepPatternType, ignore_case : Bool, word_regexp? : Bool) -> Array[GrepMatchSpan]fn grep_eval_expr(message : String, expr : GrepExpr, pattern_type : GrepPatternType, ignore_case : Bool, word_regexp? : Bool) -> GrepExprMatchfn grep_first_match_span(message : String, pattern : String, pattern_type : GrepPatternType, ignore_case : Bool, word_regexp? : Bool) -> GrepMatchSpan?fn grep_message_matches_pattern(message : String, pattern : String, pattern_type : GrepPatternType, ignore_case : Bool) -> Boolfn grep_patterns_first_match_span(message : String, patterns : Array[String], pattern_type : GrepPatternType, ignore_case : Bool, word_regexp? : Bool) -> GrepMatchSpan?fn grep_patterns_match_message(message : String, patterns : Array[String], pattern_type : GrepPatternType, ignore_case : Bool) -> Boolfn list_index_candidate_paths(fs : &RepoFileSystem, git_dir : String, paths : Array[String], max_depth? : Int) -> Array[String] raise GitErrorfn list_plain_worktree_candidate_paths(fs : &RepoFileSystem, root : String, paths : Array[String], max_depth? : Int, exclude_standard? : Bool) -> Array[String] raise GitErrorfn list_tracked_worktree_candidate_paths(fs : &RepoFileSystem, git_dir : String, paths : Array[String], max_depth? : Int) -> Array[String] raise GitErrorfn list_treeish_candidate_paths(fs : &RepoFileSystem, git_dir : String, spec : String, paths : Array[String], max_depth? : Int) -> Array[String] raise GitErrorfn list_untracked_worktree_candidate_paths(fs : &RepoFileSystem, git_dir : String, root : String, paths : Array[String], max_depth? : Int) -> Array[String] raise GitErrorfn resolve_grep_pattern_type(rfs : &RepoFileSystem, git_dir : String, cli_override : GrepPatternType?, config_override : String?) -> GrepPatternTypefn search_index(fs : &RepoFileSystem, git_dir : String, patterns : Array[String], paths : Array[String], pattern_type? : GrepPatternType, ignore_case? : Bool, invert_match? : Bool, word_regexp? : Bool, max_depth? : Int) -> Array[GrepFileMatch] raise GitErrorfn search_index_expr(fs : &RepoFileSystem, git_dir : String, expr : GrepExpr, paths : Array[String], pattern_type? : GrepPatternType, ignore_case? : Bool, invert_match? : Bool, word_regexp? : Bool, max_depth? : Int) -> Array[GrepFileMatch] raise GitErrorfn search_plain_worktree_expr(fs : &RepoFileSystem, root : String, expr : GrepExpr, paths : Array[String], pattern_type? : GrepPatternType, ignore_case? : Bool, invert_match? : Bool, word_regexp? : Bool, max_depth? : Int, exclude_standard? : Bool) -> Array[GrepFileMatch] raise GitErrorfn search_tracked_worktree(fs : &RepoFileSystem, git_dir : String, root : String, patterns : Array[String], paths : Array[String], pattern_type? : GrepPatternType, ignore_case? : Bool, invert_match? : Bool, word_regexp? : Bool, max_depth? : Int) -> Array[GrepFileMatch] raise GitErrorfn search_tracked_worktree_expr(fs : &RepoFileSystem, git_dir : String, root : String, expr : GrepExpr, paths : Array[String], pattern_type? : GrepPatternType, ignore_case? : Bool, invert_match? : Bool, word_regexp? : Bool, max_depth? : Int) -> Array[GrepFileMatch] raise GitErrorfn search_treeish(fs : &RepoFileSystem, git_dir : String, spec : String, patterns : Array[String], paths : Array[String], pattern_type? : GrepPatternType, ignore_case? : Bool, invert_match? : Bool, word_regexp? : Bool, max_depth? : Int) -> Array[GrepFileMatch] raise GitErrorfn search_treeish_expr(fs : &RepoFileSystem, git_dir : String, spec : String, expr : GrepExpr, paths : Array[String], pattern_type? : GrepPatternType, ignore_case? : Bool, invert_match? : Bool, word_regexp? : Bool, max_depth? : Int) -> Array[GrepFileMatch] raise GitErrorfn search_untracked_worktree_expr(fs : &RepoFileSystem, git_dir : String, root : String, expr : GrepExpr, paths : Array[String], pattern_type? : GrepPatternType, ignore_case? : Bool, invert_match? : Bool, word_regexp? : Bool, max_depth? : Int) -> Array[GrepFileMatch] raise GitErrorfn validate_grep_patterns(patterns : Array[String], pattern_type : GrepPatternType) -> Unit raise GitErrorGrep engine over the working tree
Dependencies