# `GEPA.StopCondition.FileStopper`
[🔗](https://github.com/nshkrdotcom/gepa_ex/blob/v0.3.0/lib/gepa/stop_condition.ex#L428)

Stops optimization when a configured file exists.

# `t`

```elixir
@type t() :: %GEPA.StopCondition.FileStopper{path: Path.t()}
```

# `new`

```elixir
@spec new(Path.t()) :: t()
```

# `remove_stop_file`

```elixir
@spec remove_stop_file(t()) :: :ok | {:error, File.posix()}
```

---

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