Skip to content

FileChangedHookInput

Base classes

Name Children Inherits
dict
builtins
dict() -> new empty dictionary

⋔ Inheritance diagram

graph TD
  1143943719["hooks.FileChangedHookInput"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 1143943719
  2751680898 --> 2645524081

🛈 DocStrings

Bases: BaseHookInput

Input data for FileChanged hook events.

Source code in src/clawd_code_sdk/models/hooks.py
class FileChangedHookInput(BaseHookInput):
    """Input data for FileChanged hook events."""

    hook_event_name: Literal["FileChanged"]
    file_path: str
    event: Literal["change", "add", "unlink"]

:fa-brands-github: Show source on GitHub