get_contracts_for_file
Description:
Returns actions (contracts) applicable to the given file.
Errors occurring in GLib.File.query_info method while looking up the file (e.g. if the file is deleted) are forwarded to the caller.
Parameters:
file |
An existing file. |
Returns:
Gee.List of contracts applicable to the given file. |