write
Writes serialized configuration data to a file in YAML format.
Creates parent directories if they do not exist. The file is written with UTF-8 encoding.
Since
1.0
Parameters
file
The target file to write to. Parent directories are created automatically.
data
The serialized configuration data as a string-keyed map.
comments
Optional comment metadata to embed in the output.