gio.file_attribute_matcher
Module for [FileAttributeMatcher] class
class FileAttributeMatcher
Types 1
Determines if a string matches a file attribute.
Methods
FileAttributeMatcher self()Returns `this`, for use in `with` statements.bool enumerateNamespace(string ns)Checks 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()Gets 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)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.bool matchesOnly(string attribute)Checks 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)Subtracts all attributes of subtract from matcher and returns a matcher that supports those attributes.string toString_()Prints what the matcher is matching against. The format will be equal to the format passed to [gio.fileattributematcher.FileAttributeMatcher.new_]. The output however, might not be identical, as th...