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

Method applies

script/ghmock/gqlscaffold.go:339–341  ·  view source on GitHub ↗
(cond string, concrete *ast.Definition)

Source from the content-addressed store, hash-verified

337}
338
339func (s *gqlScaffolder) applies(cond string, concrete *ast.Definition) bool {
340 return cond == "" || concrete == nil || isA(s.schema, concrete, cond)
341}
342
343func (s *gqlScaffolder) skipped(dirs ast.DirectiveList) bool {
344 return skippedBy(dirs, s.vars)

Callers 1

collectMethod · 0.95

Calls 1

isAFunction · 0.85

Tested by

no test coverage detected