saveDefaults

abstract fun saveDefaults()

Stores the default values provided by addDefault for any path that has no user provided value. If the underlying config representation does not exist, it is created and initiated with the default values.

Throws

if the configuration file or its parent directories cannot be created or written.