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

Function isAbsentInCLI

tools/doc-generator/parser.go:474–476  ·  view source on GitHub ↗
(f reflect.StructField)

Source from the content-addressed store, hash-verified

472}
473
474func isAbsentInCLI(f reflect.StructField) bool {
475 return getDocTagFlag(f, "nocli")
476}
477
478func ignoreCLI(f reflect.Type) bool {
479 if ignore, OK := typesToIgnoreCLI[f.String()]; OK && ignore {

Callers 1

getFieldFlagFunction · 0.85

Calls 1

getDocTagFlagFunction · 0.85

Tested by

no test coverage detected