# `MingaGitExtended.DiffActions`
[🔗](https://github.com/jsmestad/minga-git-extended/blob/main/lib/minga_git_extended/diff_actions.ex#L1)

Owns the Git snapshots and actions behind editor-managed diff views.

# `command`

```elixir
@type command() ::
  :git_diff_file
  | :git_diff_toggle_staged
  | :git_diff_toggle_layout
  | :next_git_hunk
  | :prev_git_hunk
  | :git_stage_hunk
  | :git_stage_file
  | :git_unstage_file
  | :git_revert_hunk
  | :git_preview_hunk
  | :git_blame_line
```

# `execute`

```elixir
@spec execute(state(), command()) :: state()
```

# `propose_status`

```elixir
@spec propose_status(state(), String.t(), status_target()) ::
  state() | {:schedule, state(), MingaEditor.Extension.RepositoryJob.t()}
```

Proposes reading the exact status entry outside the editor process.

---

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