get_is_backup


Description:

public bool get_is_backup ()

Checks if a file is a backup file.

The exact semantics of what constitutes a backup file are backend-specific. For local files, a file is considered a backup if its name ends with `~` and it is a regular file. This follows the POSIX convention used by text editors such as Emacs.

It is an error to call this if the FileInfo does not contain g_file_attribute_standard_is_backup.

Parameters:

this

a FileInfo.

Returns:

true if file is a backup file, false otherwise.