Gio.Resource.prototype.enumerate_children

function enumerate_children(path: String, lookup_flags: Gio.ResourceLookupFlags): Array(String) {
    // Gjs wrapper for g_resource_enumerate_children()
}
  

Returns all the names of children at the specified path in the resource. The return result is a null terminated list of strings which should be released with GLib.strfreev.

lookup_flags controls the behaviour of the lookup.

Since 2.32

path

A pathname inside the resource

lookup_flags

A Gio.ResourceLookupFlags

Returns

an array of constant strings