FileAttributeMatcher.matchesOnly

Checks if an 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 Value

Type: bool

true if the matcher only matches attribute. false otherwise.