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

Function outcomeNestedString

pkg/cli/outcome_eval_review.go:321–328  ·  view source on GitHub ↗
(raw any, nestedKey string)

Source from the content-addressed store, hash-verified

319}
320
321func outcomeNestedString(raw any, nestedKey string) string {
322 obj, _ := raw.(map[string]any)
323 if obj == nil {
324 return ""
325 }
326 value, _ := obj[nestedKey].(string)
327 return value
328}
329
330func extractLogins(raw any) []string {
331 items, _ := raw.([]any)

Callers 5

evalAddReviewerFunction · 0.85
extractLoginsFunction · 0.85
extractTeamSlugsFunction · 0.85
hasCommitAfterTimestampFunction · 0.85
extractNamedItemsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected