Gio.File.equal
Description: Reference for Gio.File.equal

### Virtual Method

# Gio Fileequal

#### Declaration

    gboolean
    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`

  Type: `GFile`

  The second `GFile`.

  The data is owned by the caller of the function.

#### Return value

Type: `gboolean`

`TRUE` if `file1` and `file2` are equal.