FileAttributeMatcher.matchesOnly

Checks if a attribute matcher only matches a given attribute. Always returns %FALSE if "*" was used when creating the matcher.

class FileAttributeMatcher
bool
matchesOnly
(
string attribute
)

Parameters

attribute string

a file attribute key.

Return: %TRUE if the matcher only matches @attribute. %FALSE otherwise.

Meta