MCPcopy Create free account
hub / github.com/Cats-Team/AdRules / __init__

Method __init__

script/compressor.py:66–68  ·  view source on GitHub ↗
(self, allow_ip: bool = False)

Source from the content-addressed store, hash-verified

64 Performs strict validation and cleans up invalid rules + preceding comments.
65 """
66 def __init__(self, allow_ip: bool = False):
67 self.allow_ip = allow_ip
68 self._prev_removed = False
69
70 @staticmethod
71 def is_comment(line: str) -> bool:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected