resources_get_info


Description:


[ Version ( since = "2.32" ) ]
public bool resources_get_info (string path, ResourceLookupFlags lookup_flags, out size_t size, out uint32 flags) throws Error

Looks for a file at the specified path in the set of globally registered resources and if found returns information about it.

lookup_flags controls the behaviour of the lookup.

Parameters:

path

A path name inside the resource

lookup_flags

A [flags@Gio.ResourceLookupFlags]

size

a location to place the length of the contents of the file, or `NULL` if the length is not needed

flags

a location to place the [flags@Gio.ResourceFlags] about the file, or `NULL` if the flags are not needed

Returns:

`TRUE` if the file was found, `FALSE` if there were errors


Namespace: GLib
Package: gio-2.0