MCPcopy Create free account
hub / github.com/OctopusDeploy/cli / scopesProvided

Function scopesProvided

pkg/cmd/project/variables/update/update.go:339–347  ·  view source on GitHub ↗
(opts *UpdateOptions)

Source from the content-addressed store, hash-verified

337}
338
339func scopesProvided(opts *UpdateOptions) bool {
340 return !util.Empty(opts.EnvironmentsScopes.Value) ||
341 !util.Empty(opts.ChannelScopes.Value) ||
342 !util.Empty(opts.TagScopes.Value) ||
343 !util.Empty(opts.RoleScopes.Value) ||
344 !util.Empty(opts.StepScopes.Value) ||
345 !util.Empty(opts.ProcessScopes.Value) ||
346 !util.Empty(opts.TargetScopes.Value)
347}

Callers 2

updateRunFunction · 0.85
PromptMissingFunction · 0.85

Calls 1

EmptyFunction · 0.92

Tested by

no test coverage detected