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:ba94fe4cec719c31f8ac484fcc2aba1d30db0f87dea8b1b6d0257417a4a260e2
# 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