Ragex.Git.BlameEntry (Ragex v0.15.0)

View Source

A single line (or contiguous range) from git blame output.

Fields

  • :sha -- commit hash that last touched this line
  • :author -- author name
  • :email -- author email
  • :date -- DateTime of the commit
  • :line -- line number in the current file (1-indexed)
  • :original_line -- line number in the original commit
  • :content -- the line content (optional, may be nil for compact output)
  • :summary -- commit summary / first line of commit message

Summary

Types

t()

@type t() :: %Ragex.Git.BlameEntry{
  author: String.t(),
  content: String.t() | nil,
  date: DateTime.t() | nil,
  email: String.t(),
  line: pos_integer(),
  original_line: pos_integer(),
  sha: String.t(),
  summary: String.t() | nil
}