archunit

Function slice_by_file_suffix

Source
pub fn slice_by_file_suffix<I, S, L>(
    labeling: I,
) -> Result<SliceProjection, SliceProjectionError>
where I: IntoIterator<Item = (S, L)>, S: Into<String>, L: Into<String>,
Expand description

Maps Rust filename stems to slices by their longest matching suffix.