(self, path)
| 824 | def __init__(self, allowed: list[str]): |
| 825 | self.allowed = allowed |
| 826 | def check_path(self, path): |
| 827 | return any(path.startswith(a) for a in self.allowed) |
| 828 | def name(self): return "AllowList" |
| 829 | |
| 830 | # 同一组路径, 不同策略, 不同结果 |
no outgoing calls
no test coverage detected