FileInfo.setAttribute

void setAttribute(string attribute, gio.types.FileAttributeType type, void * valueP)

Sets the attribute to contain the given value, if possible. To unset the attribute, use [gio.types.FileAttributeType.Invalid] for type.

Parameters

attributea file attribute key.
typea #GFileAttributeType
valuePpointer to the value