Gio.FileAttributeMatcher.prototype.to_string

function to_string(): String {
    // Gjs wrapper for g_file_attribute_matcher_to_string()
}
  

Prints what the matcher is matching against. The format will be equal to the format passed to Gio.FileAttributeMatcher.new. The output however, might not be identical, as the matcher may decide to use a different order or omit needless parts.

Since 2.32

Returns

a string describing the attributes the matcher matches against or null if matcher was null.