MCPcopy Create free account
hub / github.com/Louisym/MiniCC / __init__

Method __init__

tutorials/19_process_and_pipe_communication.py:604–606  ·  view source on GitHub ↗
(self, denied: bool, messages: list[str])

Source from the content-addressed store, hash-verified

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:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected