FileInfo.setAttributeStatus
bool setAttributeStatus(string attribute, gio.types.FileAttributeStatus status)Sets the attribute status for an attribute key. This is only needed by external code that implement gio.file.File.setAttributesFromInfo or similar functions.
The attribute must exist in info for this to work. Otherwise false is returned and info is unchanged.
Parameters
attribute | a file attribute key |
status | a #GFileAttributeStatus |
Returns
true if the status was changed, false if the key was not set.