Resource.getInfo

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.

class Resource
bool
getInfo

Parameters

path string

A pathname inside the resource

lookupFlags gio.types.ResourceLookupFlags

A #GResourceLookupFlags

size size_t

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

flags uint

a location to place the flags about the file, or null if the length is not needed

Return Value

Type: bool

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