Poney.Scene.CodeBlock (Poney v0.1.0)

Copy Markdown View Source

Code to read, as diff hunks. An excerpt of a file as it is becomes one hunk of unchanged ("ctx") lines. notes sit under a line, by its new line number.

Summary

Types

t()

@type t() :: %Poney.Scene.CodeBlock{
  hunks: [Poney.Scene.Hunk.t()],
  notes: [Poney.Scene.Note.t()],
  path: String.t(),
  title: String.t() | nil
}