File.equal

bool equal(gio.file.File file2)

Checks if the two given #GFiles refer to the same file.

Note that two #GFiles that differ can still refer to the same file on the filesystem due to various forms of filename aliasing.

This call does no blocking I/O.

Parameters

file2the second #GFile

Returns

true if file1 and file2 are equal.