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

Function validateDelegateOptions

cmd/opencodereview/shared_flags.go:140–142  ·  view source on GitHub ↗
(opts *delegateOptions)

Source from the content-addressed store, hash-verified

138}
139
140func validateDelegateOptions(opts *delegateOptions) error {
141 return validateDiffMode(opts.from, opts.to, opts.commit)
142}
143
144// registerReviewFlags registers all review command flags on cmd, binding to opts.
145func registerReviewFlags(cmd *cobra.Command, opts *reviewOptions) {

Callers 1

delegate_cmd.goFile · 0.85

Calls 1

validateDiffModeFunction · 0.85

Tested by

no test coverage detected