File.hasUriScheme

Checks to see if a GFile has a given URI scheme. This call does no blocking I/O.

class File
int
hasUriScheme
(
string uriScheme
)

Parameters

uriScheme string

a string containing a URI scheme

Return Value

Type: int

TRUE if GFile's backend supports the given URI scheme, FALSE if URI scheme is NULL, not supported, or GFile is invalid.

Meta