Qore fsevent Module ..
Loading...
Searching...
No Matches
FsEventPollerUtil Module

Introduction to the FsEventPollerUtil Module

The FsEventPollerUtil module provides DataProvider integration for the FsEventPoller module.

This module registers the qore/fsevents/event data type with the DataProvider framework, enabling filesystem events to be used in data pipelines and integrations.

Usage Example

%new-style
%require-types
%strict-args
%requires DataProvider
%requires FsEventPollerUtil
# Get the registered event type
AbstractDataProviderType event_type = DataProvider::getType("qore/fsevents/event");
# Use with DataProvider pipelines
hash<auto> event_record = {
"id": 1,
"dir": "/var/log",
"name": "syslog",
"action": FsEvents::MODIFIED,
};
# Validate against the type
event_type.acceptsValue(event_record);

FsEventPollerUtil Module Release Notes

Version 1.0

  • initial release