MCPcopy
hub / github.com/di-sukharev/opencommit / isTokenCharCode

Function isTokenCharCode

out/cli.cjs:50510–50533  ·  view source on GitHub ↗
(c4)

Source from the content-addressed store, hash-verified

50508 if (!(c4 === 9 || // HTAB
50509 c4 >= 32 && c4 <= 126 || // SP / VCHAR
50510 c4 >= 128 && c4 <= 255)) {
50511 return false;
50512 }
50513 }
50514 return true;
50515 }
50516 function isTokenCharCode(c4) {
50517 switch (c4) {
50518 case 34:
50519 case 40:
50520 case 41:
50521 case 44:
50522 case 47:
50523 case 58:
50524 case 59:
50525 case 60:
50526 case 61:
50527 case 62:
50528 case 63:
50529 case 64:
50530 case 91:
50531 case 92:
50532 case 93:
50533 case 123:
50534 case 125:
50535 return false;
50536 default:

Callers 1

isValidHTTPTokenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…