# `Juggernaut.Plan.Glob`
[🔗](https://github.com/holsee/juggernaut/blob/v0.4.0/lib/juggernaut/plan/glob.ex#L1)

Path globs as `Path.wildcard/2` reads them, matched against a relative path without
touching the file system: `**` matches any number of directories, `*` and `?` stay
within one path segment, `{a,b}` is an alternation and `[ab]`, `[a,b]` or `[a-z]` match
one listed character (a comma is listed too, a `-` at either end is literal, nothing
negates). A glob without wildcards matches the path itself and anything under it when
it names a directory (`lib/core`).

# `match?`

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

Whether `path` (relative, `/`-separated) matches `glob`.

---

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