Current section
Files
Jump to
Current section
Files
lib/xberg/diff_hunk.ex
# This file is auto-generated by alef — DO NOT EDIT.
# alef:hash:86e3b491373cb06a224074d5c175e5bf4c341443fbe2e0370128e5b090afde61
# To regenerate: alef generate
# To verify freshness: alef verify --exit-code
defmodule Xberg.DiffHunk do
@moduledoc "A single contiguous hunk in a unified diff."
@typedoc "A single contiguous hunk in a unified diff."
@type t :: %__MODULE__{
from_line: non_neg_integer(),
from_count: non_neg_integer(),
to_line: non_neg_integer(),
to_count: non_neg_integer(),
lines: [String.t() | nil]
}
defstruct from_line: 0,
from_count: 0,
to_line: 0,
to_count: 0,
lines: []
end