subtract


Description:

public FileAttributeMatcher? subtract (FileAttributeMatcher? subtract)

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

Note that currently it is not possible to remove a single attribute when the this 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:

this

Matcher to subtract from

subtract

The matcher to subtract

Returns:

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




2022 vala-language.org