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.
| 67 | // provider's built-in directory rules. The latter remain unavailable to a |
| 68 | // review, but callers such as Preview can account for them. |
| 69 | type DiffSet struct { |
| 70 | Included []model.Diff |
| 71 | Excluded []model.Diff |
| 72 | } |
| 73 | |
| 74 | // NewProvider creates a Provider for range mode: from..to (via merge-base). |
| 75 | func NewProvider(repoDir, from, to string, runner *gitcmd.Runner) *Provider { |
nothing calls this directly
no outgoing calls
no test coverage detected