Credo.Sources.find_in_dir
You're seeing just the function
find_in_dir
, go back to Credo.Sources module for more information.
Finds sources in a given directory
using a list of included
and excluded
patterns. For included
, patterns can be file paths, directory paths and globs.
For excluded
, patterns can also be specified as regular expressions.
iex> Sources.find_in_dir("/home/rrrene/elixir", ["*.ex"], ["not_me.ex"])
iex> Sources.find_in_dir("/home/rrrene/elixir", ["*.ex"], [~r/messy/])