WriteConfigAs writes current configuration to a given filename.
(filename string)
| 1631 | |
| 1632 | // WriteConfigAs writes current configuration to a given filename. |
| 1633 | func WriteConfigAs(filename string) error { return v.WriteConfigAs(filename) } |
| 1634 | |
| 1635 | func (v *Viper) WriteConfigAs(filename string) error { |
| 1636 | return v.writeConfig(filename, true) |
nothing calls this directly
no test coverage detected