pub fn files_modified_batch_filter<T>(
ci_info: &CiInfo,
items: &mut Vec<T>,
pred: impl Fn(&T, &str) -> bool,
)
Expand description
Similar to files_modified
, but only involves a single call to git
.
removes all elements from items
that do not cause any match when pred
is called with the list of modifed files.
if in CI, no elements will be removed.