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

Function getValidReactions

pkg/workflow/reactions.go:31–37  ·  view source on GitHub ↗

getValidReactions returns the list of valid reaction entries

()

Source from the content-addressed store, hash-verified

29
30// getValidReactions returns the list of valid reaction entries
31func getValidReactions() []string {
32 reactions := make([]string, 0, len(validReactions))
33 for reaction := range validReactions {
34 reactions = append(reactions, reaction)
35 }
36 return reactions
37}
38
39// parseReactionValue converts a reaction value from YAML to a string.
40// YAML parsers may return +1 and -1 as integers, so this function handles

Callers 4

TestGetValidReactionsFunction · 0.85
parseOnSectionMethod · 0.85
parseReactionValueFunction · 0.85
intToReactionStringFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestGetValidReactionsFunction · 0.68