WriteConfig writes the current configuration to a file.
()
| 1610 | |
| 1611 | // WriteConfig writes the current configuration to a file. |
| 1612 | func WriteConfig() error { return v.WriteConfig() } |
| 1613 | |
| 1614 | func (v *Viper) WriteConfig() error { |
| 1615 | filename, err := v.getConfigFile() |
nothing calls this directly
no test coverage detected