uri_get_dir_name

@accepts(utf8)
@returns(utf8)
def uri_get_dir_name(uri)

Returns the directory component of @uri, that is, everything up to the start of the filename.

uri :

a URI

Returns :

new URI for parent of @uri, must be freed by caller.