MCPcopy Create free account
hub / github.com/google/gapid / GetTopLevelName

Method GetTopLevelName

gapis/api/graph_visualization.go:91–96  ·  view source on GitHub ↗

GetTopLevelName returns the name of the first level corresponding to the top level in hierarchy.

()

Source from the content-addressed store, hash-verified

89// GetTopLevelName returns the name of the first level
90// corresponding to the top level in hierarchy.
91func (label *Label) GetTopLevelName() string {
92 if len(label.LevelsName) > 0 {
93 return label.LevelsName[0]
94 }
95 return ""
96}
97
98// GetTopLevelID returns the ID of the first level
99// corresponding to the top level in hierarchy.

Callers 3

assignColorToNodesMethod · 0.80
TestLabelFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestLabelFunction · 0.64