MCPcopy Create free account
hub / github.com/alibaba/open-code-review / DiffSet

Struct DiffSet

internal/diff/git.go:69–72  ·  view source on GitHub ↗

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.

Source from the content-addressed store, hash-verified

67// provider's built-in directory rules. The latter remain unavailable to a
68// review, but callers such as Preview can account for them.
69type 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).
75func NewProvider(repoDir, from, to string, runner *gitcmd.Runner) *Provider {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected