Dogma.ScriptSources
A module responsible for the identifying of Elixir source files to be analyised by Dogma.
Summary
find(dir_path, exclude_patterns \\ []) | Finds all Elixir source files in the given directory |
to_scripts(paths) | Takes a collection of paths to Elixir source files, and returns list of Script structs representing said source files |
Functions
Finds all Elixir source files in the given directory.
The exclude_patterns
argument is a list of regexes. File paths that match
any of these regexes will not be returned.
Takes a collection of paths to Elixir source files, and returns list of Script structs representing said source files.