Function

RBuri_is_local

Declaration [src]

gboolean
rb_uri_is_local (
  const char* uri
)

Description [src]

Checks if uri identifies a local resource. Currently this just checks that it uses the ‘file’ URI scheme.

Parameters

uri

Type: const char*

A URI to check.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: gboolean

TRUE if uri is local.