(sectionName string, s *Subsection)
| 52 | } |
| 53 | |
| 54 | func (e *Encoder) encodeSubsection(sectionName string, s *Subsection) error { |
| 55 | if err := e.printf("[%s \"%s\"]\n", sectionName, subsectionReplacer.Replace(s.Name)); err != nil { |
| 56 | return err |
| 57 | } |
| 58 | |
| 59 | return e.encodeOptions(s.Options) |
| 60 | } |
| 61 | |
| 62 | func (e *Encoder) encodeOptions(opts Options) error { |
| 63 | for _, o := range opts { |
no test coverage detected