MCPcopy
hub / github.com/spf13/viper / WriteConfig

Function WriteConfig

viper.go:1612–1612  ·  view source on GitHub ↗

WriteConfig writes the current configuration to a file.

()

Source from the content-addressed store, hash-verified

1610
1611// WriteConfig writes the current configuration to a file.
1612func WriteConfig() error { return v.WriteConfig() }
1613
1614func (v *Viper) WriteConfig() error {
1615 filename, err := v.getConfigFile()

Callers

nothing calls this directly

Calls 1

WriteConfigMethod · 0.80

Tested by

no test coverage detected