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

Provides struct and type for a LocationRef

# `t`

```elixir
@type t() :: %OpenCode.Generated.LocationRef{
  directory: String.t(),
  workspace_id: String.t() | nil
}
```

---

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