ExAthena.Tools.Glob (ExAthena v0.4.2)

Copy Markdown View Source

Finds files matching a glob pattern, relative to ctx.cwd.

Arguments:

  • pattern (required) — Path.wildcard/1-compatible pattern, e.g. lib/**/*.ex.
  • max_results (optional, default 200) — cap on the number of paths returned.

Result is a newline-separated list of paths relative to ctx.cwd.