# `Dagger.CacheSharingMode`
[🔗](https://github.com/dagger/dagger/blob/v0.20.5/sdk/elixir/lib/dagger/gen/cache_sharing_mode.ex#L2)

Sharing mode of the cache volume.

# `t`

```elixir
@type t() :: :SHARED | :PRIVATE | :LOCKED
```

# `locked`

```elixir
@spec locked() :: :LOCKED
```

Shares the cache volume amongst many build pipelines, but will serialize the writes

# `private`

```elixir
@spec private() :: :PRIVATE
```

Keeps a cache volume for a single build pipeline

# `shared`

```elixir
@spec shared() :: :SHARED
```

Shares the cache volume amongst many build pipelines

---

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