gio.file_attribute_matcher
Module for [FileAttributeMatcher] class
class FileAttributeMatcher
Types 1
Determines if a string matches a file attribute.
Methods
bool enumerateNamespace(string ns) nothrowChecks if the matcher will match all of the keys in a given namespace. This will always return true if a wildcard character is in use (e.g. if matcher was created with "standard::" and ns is "stand...string enumerateNext() nothrowGets the next matched attribute from a #GFileAttributeMatcher. Returns: a string containing the next attribute or, null if no more attribute exist.bool matches(string attribute) nothrowChecks 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.bool matchesOnly(string attribute) nothrowChecks if an attribute matcher only matches a given attribute. Always returns false if "*" was used when creating the matcher.gio.file_attribute_matcher.FileAttributeMatcher subtract(gio.file_attribute_matcher.FileAttributeMatcher subtract = null) nothrowSubtracts all attributes of subtract from matcher and returns a matcher that supports those attributes.string toString_() nothrowPrints what the matcher is matching against. The format will be equal to the format passed to [gio.file_attribute_matcher.FileAttributeMatcher.new_]. The output however, might not be identical, as ...