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

Function SetFs

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

SetFs sets the filesystem to use to read configuration.

(fs afero.Fs)

Source from the content-addressed store, hash-verified

1992
1993// SetFs sets the filesystem to use to read configuration.
1994func SetFs(fs afero.Fs) { v.SetFs(fs) }
1995
1996func (v *Viper) SetFs(fs afero.Fs) {
1997 v.fs = fs

Callers

nothing calls this directly

Calls 1

SetFsMethod · 0.80

Tested by

no test coverage detected