shell-cmd v1.2
Recursively find files matching a regex and execute a shell command for each match.
Loading...
Searching...
No Matches
SizeFilter Struct Reference

Holds a parsed size filter with comparison operator and byte threshold. More...

Public Attributes

bool active = false
 Whether this filter is enabled.
CmpOp op = CmpOp::EQ
 Comparison direction (equal, less-than, greater-than).
uintmax_t bytes = 0
 Size threshold in bytes.

Detailed Description

Holds a parsed size filter with comparison operator and byte threshold.

Definition at line 67 of file cmd.cpp.

Member Data Documentation

◆ active

bool SizeFilter::active = false

Whether this filter is enabled.

Definition at line 68 of file cmd.cpp.

Referenced by parse_size_filter().

◆ op

CmpOp SizeFilter::op = CmpOp::EQ

Comparison direction (equal, less-than, greater-than).

Definition at line 69 of file cmd.cpp.

Referenced by parse_size_filter().

◆ bytes

uintmax_t SizeFilter::bytes = 0

Size threshold in bytes.

Definition at line 70 of file cmd.cpp.

Referenced by parse_size_filter().


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