MCPcopy Index your code
hub / github.com/cortexproject/cortex / ignoreCLI

Function ignoreCLI

tools/doc-generator/parser.go:478–483  ·  view source on GitHub ↗
(f reflect.Type)

Source from the content-addressed store, hash-verified

476}
477
478func ignoreCLI(f reflect.Type) bool {
479 if ignore, OK := typesToIgnoreCLI[f.String()]; OK && ignore {
480 return true
481 }
482 return false
483}
484
485func isFieldRequired(f reflect.StructField) bool {
486 return getDocTagFlag(f, "required")

Callers 1

getFieldFlagFunction · 0.85

Calls 1

StringMethod · 0.65

Tested by

no test coverage detected