Gets the URI scheme for a
RFC 3986 decodes the scheme as:
URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ]
Common schemes include “file”, “http”, “ftp”, etc.
The scheme can be different from the one used to construct the
in that it might be replaced with one that is logically equivalent to the
This call does no blocking I/O.
A string containing the URI scheme for the given
NULL if the
GFile was constructed with an invalid URI. The
returned string should be freed with
g_free() when no longer needed.
|The caller of the method takes ownership of the data, and is responsible for freeing it.|
|The return value can be |
|The value is a NUL terminated UTF-8 string.|