Skip to content

Commit

Permalink
update docs for FileAttrib and DirAttrib Events
Browse files Browse the repository at this point in the history
  • Loading branch information
GreatBahram committed May 27, 2021
1 parent e2d8db0 commit 3a652ff
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/watchdog/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,15 @@
:members:
:show-inheritance:
.. autoclass:: FileAttribEvent
:members:
:show-inheritance:
.. autoclass:: FileAttribEvent
:members:
:show-inheritance:
Event Handler Classes
---------------------
Expand Down Expand Up @@ -203,6 +212,9 @@ class FileDeletedEvent(FileSystemEvent):


class FileAttribEvent(FileSystemEvent):
"""
File system event representing file metadata modification on the file system.
"""
event_type = EVENT_TYPE_ATTRIB


Expand Down Expand Up @@ -261,6 +273,9 @@ class DirMovedEvent(FileSystemMovedEvent):


class DirAttribEvent(FileSystemEvent):
"""
File system event representing directory metadata modification on the file system.
"""
event_type = EVENT_TYPE_ATTRIB
is_directory = True

Expand Down

0 comments on commit 3a652ff

Please sign in to comment.