Method
IdeConfigProviderduplicate
Description
Requests that the configuration provider duplicate the configuration.
This is useful when the user wants to experiment with alternate settings without breaking a previous configuration.
The configuration provider does not need to persist the configuration
in this function, ide_config_provider_save_async()
will be called
afterwards to persist configurations to disk.
It is expected that the IdeConfigProvider
will emit
IdeConfigProvider::added
with the new configuration.
Parameters
config
-
Type:
IdeConfig
An
IdeConfig
.The data is owned by the caller of the method.