DiffSet separates the diffs a review may process from files excluded by the provider's built-in directory rules. The latter remain unavailable to a review, but callers such as Preview can account for them. excludedAt[i] is Excluded[i]'s index in the changeset order of Included and Excluded combined
| 72 | // Excluded combined, so ForEachInOrder can walk the two slices as Git listed |
| 73 | // them rather than every provider exclusion first. |
| 74 | type DiffSet struct { |
| 75 | Included []model.Diff |
| 76 | Excluded []model.Diff |
| 77 | excludedAt []int |
| 78 | } |
| 79 | |
| 80 | // ForEachInOrder visits Included and Excluded in the original changeset order. |
| 81 | // providerExcluded is true for built-in directory exclusions. Files dropped by |
nothing calls this directly
no outgoing calls
no test coverage detected