# `BAM.Sink.File`
[🔗](https://github.com/baoulo/bam-elixir/blob/v0.1.0/lib/bam/sink/file.ex#L1)

File sink. The caller chooses the path. This module overwrites an existing
file at that path.

# `t`

```elixir
@type t() :: %BAM.Sink.File{closed: boolean(), fd: :file.fd() | nil, path: Path.t()}
```

# `open`

```elixir
@spec open(Path.t()) :: {:ok, t()} | {:error, BAM.Error.t()}
```

---

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