Tries to set all attributes in the FileInfo on the target values, not stopping on the first error.
If there is any error during this operation then throws will be set to the first error. Error on particular fields are flagged by setting the "status" field in the attribute value to g_file_attribute_status_error_setting, which means you can also detect further errors.
If cancellable
is not null, then the operation can be cancelled by triggering the
cancellable object from another thread. If the operation was cancelled, the error g_io_error_cancelled
will be returned.
this |
input File |
info |
a FileInfo |
flags | |
cancellable |
optional Cancellable object, null to ignore |
false if there was any error, true otherwise. |