When you are done with it, release it with gio.file_attribute_info_list.FileAttributeInfoList.unref
File.queryWritableNamespaces
gio.file_attribute_info_list.FileAttributeInfoList queryWritableNamespaces(gio.cancellable.Cancellable cancellable = null)Obtain the list of attribute namespaces where new attributes can be created by a user. An example of this is extended attributes (in the "xattr" namespace).
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
cancellable | optional #GCancellable object, null to ignore |
Returns
a #GFileAttributeInfoList describing the writable namespaces.