# `MingaEditor.FileTree.ProjectCache.Snapshot`
[🔗](https://github.com/jsmestad/minga/blob/main/lib/minga_editor/file_tree/project_cache/snapshot.ex#L1)

Immutable project-cache data prepared outside file-tree value transitions.

# `t`

```elixir
@type t() :: %MingaEditor.FileTree.ProjectCache.Snapshot{
  active?: boolean(),
  files: [String.t()],
  rebuilding?: boolean(),
  root: String.t()
}
```

# `new`

```elixir
@spec new(String.t(), boolean(), [String.t()], boolean()) :: t()
```

Builds a project-cache snapshot for one expanded tree root.

---

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