Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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.ts
File · 0.80
init
Method · 0.80
loadBlacklist
Method · 0.80
scriptMatchEntry
Method · 0.80
Calls
2
clear
Method · 0.65
delete
Method · 0.65
Tested by
no test coverage detected