MCPcopy Index your code
hub / github.com/cli/cli / formatRawCommentStatus

Function formatRawCommentStatus

pkg/cmd/pr/shared/comments.go:186–195  ·  view source on GitHub ↗
(status string)

Source from the content-addressed store, hash-verified

184}
185
186func formatRawCommentStatus(status string) string {
187 if status == approvedStatus ||
188 status == changesRequestedStatus ||
189 status == commentedStatus ||
190 status == dismissedStatus {
191 return strings.ReplaceAll(strings.ToLower(status), "_", " ")
192 }
193
194 return "none"
195}
196
197func formatHiddenComment(comment Comment) string {
198 var b strings.Builder

Callers 1

formatRawCommentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected