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

Function categoryToNum

packages/core/src/debug/constants.ts:143–145  ·  view source on GitHub ↗
(cat: DebugCategory)

Source from the content-addressed store, hash-verified

141 * Returns null if the string is not a valid category.
142 */
143export function categoryToNum(cat: DebugCategory): number | null {
144 return CATEGORY_STR_TO_NUM.get(cat) ?? null;
145}
146
147/* --- Severity Mapping --- */
148

Callers 3

categoriesToMaskFunction · 0.85
isCategoryInMaskFunction · 0.85
encodeHeadersFunction · 0.85

Calls 1

getMethod · 0.45

Tested by 1

encodeHeadersFunction · 0.68