Poney.Scene.DiffLine (Poney v0.1.0)

Copy Markdown View Source

A line of a diff: kind is "add", "del" or "ctx"; old and new are its line numbers on each side.

Summary

Types

t()

@type t() :: %Poney.Scene.DiffLine{
  kind: String.t(),
  new: pos_integer() | nil,
  old: pos_integer() | nil,
  text: String.t()
}