# `ImagePipe.Source.Resolved`
[🔗](https://github.com/hlindset/image_pipe/blob/v0.2.0/image_pipe/lib/image_pipe/source/resolved.ex#L1)

Validated source information returned by an adapter's `c:ImagePipe.Source.resolve/3`.

Source adapters construct this value from canonical source intent. The
`identity` and `cache_semantics` fields describe cache-safe source identity.
`fetch` contains adapter-private data needed by the later fetch callback.
`name` is the configured source that resolved this value. ImagePipe sets it
after resolution, and it is `nil` for `{:file, _}` and `{:binary, _}`
inputs. Adapters leave it unset.

# `http_cache`

```elixir
@type http_cache() :: :inherit | :validators | :auto | :public | :private
```

# `internal_cache`

```elixir
@type internal_cache() :: :enabled | :disabled
```

# `t`

```elixir
@type t() :: %ImagePipe.Source.Resolved{
  cache_semantics: ImagePipe.Source.CacheSemantics.t(),
  fetch: term(),
  http_cache: http_cache(),
  identity: term(),
  internal_cache: internal_cache(),
  name: atom() | nil
}
```

---

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