Git.GrepResult (git v0.4.0)

Copy Markdown View Source

Struct representing a single parsed git grep match.

Each result corresponds to one line of output from git grep, containing the file path, optional line number, and matched content.

Summary

Types

t()

@type t() :: %Git.GrepResult{
  content: String.t(),
  file: String.t(),
  line_number: non_neg_integer() | nil
}