Gio.resources_enumerate_children

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

Returns all the names of children at the specified path in the set of globally registered resources. 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