saveConfig

fun saveConfig(config: U)

Saves a configuration instance to the properties file.

This method writes all configuration values from the provided Config instance to the properties file, creating the file and parent directories if necessary.

Parameters

config

The configuration instance to save.