FileAttributeMatcher.matchesOnly

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

class FileAttributeMatcher
int
matchesOnly
(
string attribute
)

Parameters

attribute string

a file attribute key.

Return Value

Type: int

TRUE if the matcher only matches attribute. FALSE otherwise.

Meta