MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / overlapsSkipZone

Function overlapsSkipZone

scripts/add-internal-links.mjs:130–133  ·  view source on GitHub ↗
(pos, len, zones)

Source from the content-addressed store, hash-verified

128}
129
130function overlapsSkipZone(pos, len, zones) {
131 const end = pos + len;
132 return zones.some((z) => !(end <= z.start || pos >= z.end));
133}
134
135function escapeRegex(s) {
136 return s.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');

Callers 1

processFileFunction · 0.85

Calls 1

someMethod · 0.45

Tested by

no test coverage detected