# `Calque.Diff`
[🔗](https://github.com/milaneuh/calque/blob/main/lib/diff.ex#L1)

Utilities to render simple line-by-line diffs used by Calque's CLI output.

# `diff_line`
[🔗](https://github.com/milaneuh/calque/blob/main/lib/diff.ex#L8)

```elixir
@type diff_line() :: %{
  number: pos_integer(),
  line: String.t(),
  kind: diff_line_kind()
}
```

# `diff_line_kind`
[🔗](https://github.com/milaneuh/calque/blob/main/lib/diff.ex#L6)

```elixir
@type diff_line_kind() :: :old | :new | :shared
```

# `occurrence`
[🔗](https://github.com/milaneuh/calque/blob/main/lib/diff.ex#L11)

```elixir
@type occurrence() ::
  {:one, non_neg_integer(), [String.t()], [String.t()]}
  | {:other, non_neg_integer(), [String.t()], [String.t()]}
  | {:both, non_neg_integer(), [String.t()], [String.t()], [String.t()],
     [String.t()]}
```

# `tagged_line`
[🔗](https://github.com/milaneuh/calque/blob/main/lib/diff.ex#L7)

```elixir
@type tagged_line() :: %{kind: diff_line_kind(), line: String.t()}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
