MCPcopy Create free account
hub / github.com/alibaba/open-code-review / normalizeCodeCommentSeverity

Function normalizeCodeCommentSeverity

internal/tool/code_comment.go:190–196  ·  view source on GitHub ↗
(severity string)

Source from the content-addressed store, hash-verified

188}
189
190func normalizeCodeCommentSeverity(severity string) string {
191 normalized := strings.ToLower(severity)
192 if _, ok := validCodeCommentSeverities[normalized]; ok {
193 return normalized
194 }
195 return codeCommentSeverityLow
196}

Callers 1

parseCommentsInnerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected