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

Function isRootBlock

tools/doc-generator/parser.go:509–517  ·  view source on GitHub ↗
(t reflect.Type)

Source from the content-addressed store, hash-verified

507}
508
509func isRootBlock(t reflect.Type) (string, string, bool) {
510 for _, rootBlock := range rootBlocks {
511 if t == rootBlock.structType {
512 return rootBlock.name, rootBlock.desc, true
513 }
514 }
515
516 return "", "", false
517}
518
519func getDocTagFlag(f reflect.StructField, name string) bool {
520 cfg := parseDocTag(f)

Callers 1

parseConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected