[−][src]Function lilv_sys::lilv_uri_to_path
pub unsafe extern "C" fn lilv_uri_to_path(uri: *const c_char) -> *const c_char
Convert a file URI string to a local path string.
For example, "file://foo/bar/baz.ttl" returns "/foo/bar/baz.ttl".
Return value is shared and must not be deleted by caller.
This function does not handle escaping correctly and should not be used for
general file URIs. Use lilv_file_uri_parse() instead.
@return uri
converted to a path, or NULL on failure (URI is not local).