# `Minga.Git.Repo.StatusSnapshot`
[🔗](https://github.com/jsmestad/minga/blob/main/lib/minga/git/repo/status_snapshot.ex#L1)

Cached git status entries for a tracked repository.

`entry_base_path` tells consumers which filesystem path the entry paths are relative to. This lets cache-only UI consumers render badges without shelling out to git.

# `t`

```elixir
@type t() :: %Minga.Git.Repo.StatusSnapshot{
  entries: [Minga.Git.StatusEntry.t()],
  entry_base_path: String.t(),
  git_root: String.t()
}
```

# `new`

```elixir
@spec new(String.t(), String.t(), [Minga.Git.StatusEntry.t()]) :: t()
```

Builds a cached status snapshot.

---

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