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

Struct pflagValue

flags.go:35–37  ·  view source on GitHub ↗

pflagValue is a wrapper around *pflag.flag that implements FlagValue.

Source from the content-addressed store, hash-verified

33// pflagValue is a wrapper around *pflag.flag
34// that implements FlagValue.
35type pflagValue struct {
36 flag *pflag.Flag
37}
38
39// HasChanged returns whether the flag has changes or not.
40func (p pflagValue) HasChanged() bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected