FileAttributeMatcher.matches

bool matches(string attribute)

Checks if an attribute will be matched by an attribute matcher. If the matcher was created with the "*" matching string, this function will always return true.

Parameters

attributea file attribute key.

Returns

true if attribute matches matcher. false otherwise.