MCPcopy Create free account
hub / github.com/cli/cli / skipped

Method skipped

script/ghmock/gqlscaffold.go:343–345  ·  view source on GitHub ↗
(dirs ast.DirectiveList)

Source from the content-addressed store, hash-verified

341}
342
343func (s *gqlScaffolder) skipped(dirs ast.DirectiveList) bool {
344 return skippedBy(dirs, s.vars)
345}
346
347// skippedBy evaluates @skip and @include with the variables gh sent.
348func skippedBy(dirs ast.DirectiveList, vars map[string]any) bool {

Callers 2

fragmentTypeMethod · 0.95
collectMethod · 0.95

Calls 1

skippedByFunction · 0.85

Tested by

no test coverage detected