File.setAttributeInt64

bool setAttributeInt64(string attribute, long value, gio.types.FileQueryInfoFlags flags, gio.cancellable.Cancellable cancellable = null)

Sets attribute of type gio.types.FileAttributeType.Int64 to value. If attribute is of a different type, this operation will fail.

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 gio.types.IOErrorEnum.Cancelled will be returned.

Parameters

attributea string containing the attribute's name
valuea #guint64 containing the attribute's new value
flagsa #GFileQueryInfoFlags
cancellableoptional #GCancellable object, null to ignore

Returns

true if the attribute was successfully set, false otherwise.

Throws