FileInfo.getIsSymlink

bool getIsSymlink()

Checks if a file is a symlink.

It is an error to call this if the #GFileInfo does not contain [gio.types.FILE_ATTRIBUTE_STANDARD_IS_SYMLINK].

Returns

true if the given info is a symlink.