MCPcopy Create free account
hub / github.com/github/gh-aw / String

Method String

pkg/github/label_objective_mapping.go:220–226  ·  view source on GitHub ↗

String returns a human-readable summary of the mapping.

()

Source from the content-addressed store, hash-verified

218
219// String returns a human-readable summary of the mapping.
220func (om *ObjectiveMapping) String() string {
221 if om == nil {
222 return "nil ObjectiveMapping"
223 }
224 return fmt.Sprintf("ObjectiveMapping{labels: %d, logic: %s, priorities: %d}",
225 len(om.LabelToValue), om.MultiLabelLogic, len(om.PriorityLabels))
226}
227
228// ValidateLabelExists checks if a given label has a defined objective value.
229func (om *ObjectiveMapping) ValidateLabelExists(label string) bool {

Calls

no outgoing calls