toUri


Description:

public string toUri ()

Returns the file URI representation of this path.

Converts the path to a file URI. Relative paths are resolved against the current working directory.

Example:

    var path = new Path ("/tmp/file.txt");
assert (path.toUri () == "file:///tmp/file.txt");

Returns:

the file URI string.