MCPcopy Create free account
hub / github.com/Script-Hub-Org/Script-Hub / clearcr

Function clearcr

rule-parser.js:304–308  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

302 clearcr()
303 }
304 function clearcr() {
305 SurgeTool = {}
306 SurgeTool[url] = ruleNum
307 $.setjson(SurgeTool, stname)
308 }
309 }
310 } else if (isSurgedomainset || isSurgedomainset2) {
311 domainSet = ruleSet.filter(ruleSet => ruleSet.search(/^DOMAIN(,|-SUFFIX)/) != -1)

Callers 1

rule-parser.jsFile · 0.70

Calls 1

setjsonMethod · 0.45

Tested by

no test coverage detected