FileAttributeMatcher.subtract

Subtracts all attributes of subtract from matcher and returns a matcher that supports those attributes.

Note that currently it is not possible to remove a single attribute when the matcher matches the whole namespace - or remove a namespace or attribute when the matcher matches everything. This is a limitation of the current implementation, but may be fixed in the future.

Parameters

subtract gio.file_attribute_matcher.FileAttributeMatcher

The matcher to subtract

Return Value

Type: gio.file_attribute_matcher.FileAttributeMatcher

A file attribute matcher matching all attributes of matcher that are not matched by subtract