# `ASM.Extensions.Rendering.Sinks.File`
[🔗](https://github.com/nshkrdotcom/agent_session_manager/blob/v0.9.2/lib/asm/extensions/rendering/sinks/file.ex#L1)

Sink that writes rendered output to a file with ANSI escape codes stripped.

Options:
- `:path` (required unless `:io` is provided)
- `:io` (optional pre-opened IO device; not closed by this sink)
- `:append` (optional, default `false`)
- `:strip_ansi` (optional, default `true`)

# `t`

```elixir
@type t() :: %{
  path: String.t() | nil,
  io: term(),
  owns_io: boolean(),
  strip_ansi: boolean()
}
```

---

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