gio.file_attribute_matcher

Module for [FileAttributeMatcher] class

Types 1

Determines if a string matches a file attribute.

Methods
void * _cPtr(Flag!"Dup" dup = No.Dup) nothrow
GType _getGType() static nothrow
GType _gType() @property nothrow
FileAttributeMatcher self() nothrowReturns `this`, for use in `with` statements.
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 ...
Constructors
this(void * ptr, Flag!"Take" take)
this(string attributes)Creates a new file attribute matcher, which matches attributes against a given string. #GFileAttributeMatchers are reference counted structures, and are created with a reference count of 1. If the ...