Struct IniLikeFile.WriteOptions
Behavior of ini-like file saving.
Fields
Name | Type | Description |
lineBetweenGroups
|
std.typecons.Flag!("lineBetweenGroups") | Whether to write empty line after each group except for the last.
New line is not written when it already exists before the next group.
|
preserveComments
|
std.typecons.Flag!("preserveComments") | Whether to preserve comments (lines that starts with '#') on saving.
|
preserveEmptyLines
|
std.typecons.Flag!("preserveEmptyLines") | Whether to preserve empty lines on saving.
|
Methods
Name | Description |
assign
|
Assign arg to the struct member of corresponding type.
|
exact
|
Exact mode. Save all comments and empty lines as is.
|
pretty
|
Pretty mode. Save comments, skip existing new lines, add line before the next group.
|