# `OpenCode.Generated.FileContentPatch`
[🔗](https://github.com/UtkarshUsername/opencode-sdk-elixir/blob/v0.1.84/lib/opencode/generated/file_content_patch.ex#L1)

Provides struct and type for a FileContentPatch

# `t`

```elixir
@type t() :: %OpenCode.Generated.FileContentPatch{
  hunks: [OpenCode.Generated.FileContentPatchHunks.t()],
  index: String.t() | nil,
  new_file_name: String.t(),
  new_header: String.t() | nil,
  old_file_name: String.t(),
  old_header: String.t() | nil
}
```

---

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