Expand description
File discovery engine (Ring 2).
Watches a directory for new files and emits DiscoveredFile events
to the source connector via an mpsc channel. Supports three modes:
- Event mode:
notify::recommended_watcher()for local filesystems - Poll mode:
notify::PollWatcherfor NFS/CIFS/FUSE mounts - Cloud poll mode:
object_store::list()for cloud storage paths
Structsยง
- Discovered
File - A file discovered by the discovery engine.
- Discovery
Config - Configuration for the discovery engine.
- File
Discovery Engine - Handle to a running discovery engine. Dropping this stops the engine.