[][src]Function lilv_sys::lilv_new_file_uri

pub unsafe extern "C" fn lilv_new_file_uri(
    world: *mut LilvWorld,
    host: *const c_char,
    path: *const c_char
) -> *mut LilvNode

Create a new file URI value. @param world The world. @param host Host name, or NULL. @param path Path on host. @return A new node that must be freed by caller.

Relative paths are resolved against the current working directory. Note that this may yield unexpected results if host is another machine.