Skip to content

FsChangedNotification

Base classes

Name Children Inherits
CodexBaseModel
codexed.models.base
Base model for all Codex API models.

⋔ Inheritance diagram

graph TD
  1772861691["v2_protocol.FsChangedNotification"]
  3116041069["base.CodexBaseModel"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  3116041069 --> 1772861691
  3879467795 --> 3116041069
  2751680898 --> 3879467795

🛈 DocStrings

Bases: CodexBaseModel

Filesystem watch notification emitted for fs/watch subscribers.

Source code in src/codexed/models/v2_protocol.py
class FsChangedNotification(CodexBaseModel):
    """Filesystem watch notification emitted for `fs/watch` subscribers."""

    changed_paths: list[AbsolutePathBuf]
    """
    File or directory paths associated with this event.
    """
    watch_id: str
    """
    Watch identifier previously provided to `fs/watch`.
    """

changed_paths instance-attribute

changed_paths: list[AbsolutePathBuf]

File or directory paths associated with this event.

watch_id instance-attribute

watch_id: str

Watch identifier previously provided to fs/watch.

:fa-brands-github: Show source on GitHub