MCPcopy
hub / github.com/SukkaW/Surge / bulkAddCIDR4NoResolve

Method bulkAddCIDR4NoResolve

Build/lib/rules/base.ts:335–340  ·  view source on GitHub ↗
(cidrs: string[])

Source from the content-addressed store, hash-verified

333 }
334
335 bulkAddCIDR4NoResolve(cidrs: string[]) {
336 for (let i = 0, len = cidrs.length; i < len; i++) {
337 this.ipcidrNoResolve.add(FileOutput.ipToCidr(cidrs[i], 4));
338 }
339 return this;
340 }
341
342 bulkAddCIDR6(cidrs: string[]) {
343 for (let i = 0, len = cidrs.length; i < len; i++) {

Calls

no outgoing calls

Tested by

no test coverage detected