g_file_is_trusted


Description:


[ Version ( since = "4.17" ) ]
public bool g_file_is_trusted (File file, Cancellable? cancellable = null) throws Error

Compares the checksum stored in safety flag with the actual file.

If it matches, it is considered safe.

Read the documentation of g_file_set_trusted for details.

Parameters:

file

a File.

cancellable

optional Cancellable object, null to ignore.

Returns:

true if safety flag is verified or not supported. false otherwise.


Namespace: Xfce