[ 源代码: aionotify ]
软件包:python3-aionotify(0.2.0-2)
Simple, asyncio-based inotify library for Python
Asyncio library to create watchers on filesystem using inotify API and generate events from changes.
An event is a simple object with a few attributes:
- name: the path of the modified file - flags: the modification flag; use aionotify.Flags.parse() to parse it - alias: the alias of the watch triggering the event - cookie: for renames, this integer value links the renamed from/to events