Uri.getPathSegments

string[] getPathSegments()

Get a list of path segments from the URI.

Returns

A #GList of path segment

strings or null if no path segments are available. Free the list when no longer needed with g_list_free_full(list, g_free).