set_attribute_status


Description:

[ Version ( since = "2.22" ) ]
public bool set_attribute_status (string attribute, FileAttributeStatus status)

Sets the attribute status for an attribute key.

This is only needed by external code that implement set_attributes_from_info or similar functions.

The attribute must exist in this for this to work. Otherwise false is returned and this is unchanged.

Parameters:

this

a FileInfo

attribute

a file attribute key

status

a FileAttributeStatus

Returns:

true if the status was changed, false if the key was not set.




2022 vala-language.org