FileInfo.getIsBackup

bool getIsBackup()

Checks if a file is a backup file.

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

Returns

true if file is a backup file, false otherwise.