libfswatch  1.9.3
Public Attributes | List of all members
fsw::monitor_filter Struct Reference

Path filters used to accept or reject file change events. More...

#include <filter.hpp>

Public Attributes

std::string text
 Regular expression used to match the paths. More...
 
fsw_filter_type type
 Filter type.
 
bool case_sensitive
 Flag indicating whether monitor_filter::text is a case sensitive regular expression.
 
bool extended
 Flag indicating whether monitor_filter::text is an extended regular expression. More...
 

Detailed Description

Path filters used to accept or reject file change events.

A path filter is a regular expression used to accept or reject file change events based on the value of their path. A filter has the following characteristics:

Further information about how filtering works in libfswatch can be found in Path Filtering.

Member Data Documentation

bool fsw::monitor_filter::extended

Flag indicating whether monitor_filter::text is an extended regular expression.

Further information about extended regular expressions can be found here:

http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap09.html#tag_09_04

std::string fsw::monitor_filter::text

Regular expression used to match the paths.

Further information about regular expressions can be found here:

http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap09.html


The documentation for this struct was generated from the following file: