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

Function containsNonASCII

out/cli.cjs:3163–3165  ·  view source on GitHub ↗
(str2)

Source from the content-addressed store, hash-verified

3161 var mappingTable = require_mappingTable();
3162 var { STATUS_MAPPING } = require_statusMapping();
3163 function containsNonASCII(str2) {
3164 return /[^\x00-\x7F]/u.test(str2);
3165 }
3166 function findStatus(val) {
3167 let start = 0;
3168 let end = mappingTable.length - 1;

Callers 2

processingFunction · 0.85
toASCIIFunction · 0.85

Calls 1

testMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…