File.hasUriScheme

bool hasUriScheme(string uriScheme)

Checks to see if a #GFile has a given URI scheme.

This call does no blocking I/O.

Parameters

uriSchemea string containing a URI scheme

Returns

true if #GFile's backend supports the

given URI scheme, false if URI scheme is null, not supported, or #GFile is invalid.