abs


Description:

public Path abs ()

Returns the absolute path. If the path is already absolute, returns a normalized version. If relative, prepends the current working directory and normalizes.

Example:

    var abs = new Path ("/tmp/file.txt");
assert (abs.abs ().toString () == "/tmp/file.txt");

Returns:

a new Path with the absolute, normalized path.