Entry points for the Elixir-aware layers: the structural diff of a commit and the adapter models derived from it.
Summary
Types
An adapter's models partitioned by what happened to their modules.
Functions
The structural diff of the commit's Elixir source.
Every model adapter recognises among the modules of tree matching pattern.
Models from adapter for modules the commit added, removed, or modified
(renames count as modifications). Modules the adapter does not recognise
are skipped; a module that stops or starts being recognised across the
change shows up as removed or added respectively.
Types
Functions
@spec diff(Presubmit.Commit.t()) :: Presubmit.Source.Diff.t()
The structural diff of the commit's Elixir source.
@spec find(Presubmit.Tree.t(), module(), Presubmit.Pattern.t()) :: [struct()]
Every model adapter recognises among the modules of tree matching pattern.
@spec models(Presubmit.Commit.t(), module()) :: model_diff()
Models from adapter for modules the commit added, removed, or modified
(renames count as modifications). Modules the adapter does not recognise
are skipped; a module that stops or starts being recognised across the
change shows up as removed or added respectively.