# `DripDrop.MixHelpers`
[🔗](https://github.com/agoodway/dripdrop/blob/v0.1.0/lib/dripdrop/mix_helpers.ex#L1)

Shared helpers for DripDrop Mix tasks.

# `migrations_dir`

```elixir
@spec migrations_dir(module()) :: String.t()
```

Returns the migrations directory for a repo.

# `priv_path`

```elixir
@spec priv_path(module()) :: String.t()
```

Returns the repo priv path, defaulting to `priv/repo`.

# `resolve_repo`

```elixir
@spec resolve_repo(String.t() | nil) :: module()
```

Resolves the Ecto repo supplied to a Mix task or configured for the app.

# `setup_migration_exists?`

```elixir
@spec setup_migration_exists?(String.t()) :: boolean()
```

Checks whether a DripDrop setup migration already exists.

# `timestamp`

```elixir
@spec timestamp() :: String.t()
```

Returns a UTC migration timestamp.

---

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