class documentation
class SearchMatchType(bb.Union): (source)
Indicates what type of match was found for a given item. This class acts as a tagged union. Only one of the ``is_*`` methods will return true. To get the associated value of a tag (if one exists), use the corresponding ``get_*`` method. :ivar files.SearchMatchType.filename: This item was matched on its file or folder name. :ivar files.SearchMatchType.content: This item was matched based on its file contents. :ivar files.SearchMatchType.both: This item was matched based on both its contents and its file name.
Method | is |
Check if the union tag is ``both``. |
Method | is |
Check if the union tag is ``content``. |
Method | is |
Check if the union tag is ``filename``. |
Class Variable | both |
Undocumented |
Class Variable | content |
Undocumented |
Class Variable | filename |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |