[ CCode ( has_construct_function = false ) ]
[ Version ( since = "2.10" ) ]
public ConfigWriter.from_file (File file, bool atomic, string header) throws Error
Creates a new ConfigWriter and sets it up to write to file.
If atomic is true, a temporary file is used to avoid possible race conditions. The
temporary file is then moved to file when the writer is closed.
| file |
a File |
| atomic |
if true the file is written atomically |
| header |
text to include as comment at the top of the file |
|
a new ConfigWriter or null in case of an error |