Method

GioFileequal

Declaration

gboolean
g_file_equal (
  GFile* file1,
  GFile* file2
)

Description

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

file2 GFile
 

The second GFile.

 The data is owned by the caller of the function.

Return value

Returns: gboolean
 

TRUE if file1 and file2 are equal.