(self, denied: bool, messages: list[str])
| 602 | class HookRunResult: |
| 603 | """对应 hooks.rs:24-47""" |
| 604 | def __init__(self, denied: bool, messages: list[str]): |
| 605 | self.denied = denied |
| 606 | self.messages = messages |
| 607 | |
| 608 | @classmethod |
| 609 | def allow(cls, messages: list[str]) -> HookRunResult: |
nothing calls this directly
no outgoing calls
no test coverage detected