Resource.getInfo

bool getInfo(string path, gio.types.ResourceLookupFlags lookupFlags, out size_t size, out uint flags)

Looks for a file at the specified path in the resource and if found returns information about it.

lookup_flags controls the behaviour of the lookup.

Parameters

pathA pathname inside the resource
lookupFlagsA #GResourceLookupFlags
sizea location to place the length of the contents of the file, or null if the length is not needed
flagsa location to place the flags about the file, or null if the length is not needed

Returns

true if the file was found. false if there were errors

Throws

[ErrorWrap]