equals


Description:

public bool equals (Path other)

Returns whether this path equals another path by comparing their string representations.

Example:

    var a = new Path ("/tmp/file.txt");
var b = new Path ("/tmp/file.txt");
assert (a.equals (b) == true);

Parameters:

other

the other Path to compare.

Returns:

true if both paths have the same string value.