Files

28 lines
869 B
Elixir
Raw Permalink Normal View History

2026-06-01 23:40:55 +02:00
# This file is auto-generated by alef — DO NOT EDIT.
# alef:hash:4e15143f4af1ae8bafbdb1506ef057da924484c66a19483966333558ad437e75
# To regenerate: alef generate
# To verify freshness: alef verify --exit-code
# Issues & docs: https://github.com/kreuzberg-dev/alef
defmodule Kreuzberg.CellChange do
@moduledoc """
A single changed cell within a table.
Defined here (rather than only in `crate::diff`) so `RevisionDelta` can
reference it unconditionally, without requiring the `diff` Cargo feature.
`crate::diff` re-exports this type verbatim.
"""
@typedoc "A single changed cell within a table."
@type t :: %__MODULE__{
row: non_neg_integer(),
col: non_neg_integer(),
from: String.t() | nil,
to: String.t() | nil
}
defstruct row: 0,
col: 0,
from: nil,
to: nil
end