reven.api.BinaryCriterion(Criterion) class documentationreven.api
(View In Hierarchy)
Criterion object to select binaries.
| Method | __init__ | No summary |
| Method | __repr__ | Undocumented |
| Method | _rvn_criterion |
Inherited from Criterion:
| Method | _rvn_effect |
build a criterion that will select binary based on their name.
| Parameters | pattern | The binary path to match. |
| accuracy | Whether the pattern matches is exactly ('exact'), is contained in ('contains') or is a regular expression of ('regexp') the binary path to match. The default value is 'contains'. | |
| case_sensitive | Whether the match is case sensitive or not." The default value is case insensitive. | |
| invert_match | Whether to accept or reject objects matching this criterion. | |
| Raises | ValueError | if the accuracy string is not in {'exact', 'contains', 'regexp'} |