# `MingaEditor.State.FileTree.ClipboardMark`
[🔗](https://github.com/jsmestad/minga/blob/main/lib/minga_editor/state/file_tree/clipboard_mark.ex#L1)

Pending file tree copy or move operation.

The mark stores the selected source entry until the user chooses a paste destination.

# `operation`

```elixir
@type operation() :: :copy | :move
```

# `t`

```elixir
@type t() :: %MingaEditor.State.FileTree.ClipboardMark{
  dir?: boolean(),
  name: String.t(),
  operation: operation(),
  path: String.t()
}
```

# `new`

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

Builds a clipboard mark for a file tree entry.

---

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