MCPcopy Create free account
hub / github.com/scriptscat/scriptcat / clearRules

Method clearRules

src/pkg/utils/match.ts:57–60  ·  view source on GitHub ↗
(uuid: T)

Source from the content-addressed store, hash-verified

55 }
56
57 public clearRules(uuid: T) {
58 this.cacheMap.clear();
59 this.rulesMap.delete(uuid);
60 }
61
62 // 测试用
63 public addInclude(rulePattern: string, uuid: T) {

Callers 4

match.test.tsFile · 0.80
initMethod · 0.80
loadBlacklistMethod · 0.80
scriptMatchEntryMethod · 0.80

Calls 2

clearMethod · 0.65
deleteMethod · 0.65

Tested by

no test coverage detected