(rulePattern: string, uuid: T)
| 68 | |
| 69 | // 测试用 |
| 70 | public addMatch(rulePattern: string, uuid: T) { |
| 71 | // @match xxxxx |
| 72 | const rules = extractUrlPatterns([rulePattern].map((e) => `@match ${e}`)); |
| 73 | this.addRules(uuid, rules); |
| 74 | } |
| 75 | |
| 76 | // 测试用 |
| 77 | public addExclude(rulePattern: string, uuid: T) { |
no test coverage detected