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

Method GetCommandName

gapis/api/graph_visualization.go:73–78  ·  view source on GitHub ↗

GetCommandName returns the name of the last level corresponding to the node name.

()

Source from the content-addressed store, hash-verified

71// GetCommandName returns the name of the last level
72// corresponding to the node name.
73func (label *Label) GetCommandName() string {
74 if len(label.LevelsName) > 0 {
75 return label.LevelsName[len(label.LevelsName)-1]
76 }
77 return ""
78}
79
80// GetCommandId returns the ID of the last level
81// corresponding to the node ID.

Callers 5

writeNodesInDotFormatMethod · 0.80
getGraphInPbtxtFormatMethod · 0.80
TestLabelFunction · 0.80
pushMethod · 0.80
checkDebugMarkersMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestLabelFunction · 0.64