MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / severityToNum

Function severityToNum

packages/core/src/debug/constants.ts:175–177  ·  view source on GitHub ↗
(sev: DebugSeverity)

Source from the content-addressed store, hash-verified

173 * Returns null if the string is not a valid severity.
174 */
175export function severityToNum(sev: DebugSeverity): number | null {
176 return SEVERITY_STR_TO_NUM.get(sev) ?? null;
177}
178
179/* --- Performance Phase Mapping --- */
180

Callers 4

bySeverityFunction · 0.85
encodeHeadersFunction · 0.85

Calls 1

getMethod · 0.45

Tested by 1

encodeHeadersFunction · 0.68