rebar3_mutate_diff (rebar3_mutate v0.5.4)

View Source

Summary

Types

file_changes/0

-type file_changes() :: #{file:filename() => [line_range()]}.

line_range/0

-type line_range() :: {non_neg_integer(), non_neg_integer()}.

Functions

changed_lines(BaseRef)

-spec changed_lines(string()) -> {ok, file_changes()} | {error, term()}.

matches_path(File, DiffPath)

-spec matches_path(file:filename(), file:filename()) -> boolean().

parse_diff(Output)

valid_ref(Ref)

-spec valid_ref(string()) -> boolean().