File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -502,7 +502,7 @@ func (f *File) WriteTo(w io.Writer) (int64, error) {
502
502
// SaveToIndent writes content to file system with given value indention.
503
503
func (f * File ) SaveToIndent (filename , indent string ) error {
504
504
// Note: Because we are truncating with os.Create,
505
- // so it's safer to save to a temporary file location and rename afte done.
505
+ // so it's safer to save to a temporary file location and rename after done.
506
506
buf , err := f .writeToBuffer (indent )
507
507
if err != nil {
508
508
return err
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ type LoadOptions struct {
113
113
UnparseableSections []string
114
114
// KeyValueDelimiters is the sequence of delimiters that are used to separate key and value. By default, it is "=:".
115
115
KeyValueDelimiters string
116
- // KeyValueDelimiters is the delimiter that are used to separate key and value output. By default, it is "=".
116
+ // KeyValueDelimiterOnWrite is the delimiter that are used to separate key and value output. By default, it is "=".
117
117
KeyValueDelimiterOnWrite string
118
118
// ChildSectionDelimiter is the delimiter that is used to separate child sections. By default, it is ".".
119
119
ChildSectionDelimiter string
You can’t perform that action at this time.
0 commit comments