true if both paths refer to the same file, false otherwise.bool samefile(Path other) constChecks if this path refers to the same file as another path.
other | The other Path to compare with. |
true if both paths refer to the same file, false otherwise.