MCPcopy
hub / github.com/urfave/cli / setMultiValueParsingConfig

Method setMultiValueParsingConfig

flag_impl.go:153–158  ·  view source on GitHub ↗

pass configuration of parsing to value

(c multiValueParsingConfig)

Source from the content-addressed store, hash-verified

151
152// pass configuration of parsing to value
153func (f *FlagBase[T, C, V]) setMultiValueParsingConfig(c multiValueParsingConfig) {
154 tracef("setMultiValueParsingConfig %T, %+v", f.value, f.value)
155 if cf, ok := f.value.(multiValueParsingConfigSetter); ok {
156 cf.setMultiValueParsingConfig(c)
157 }
158}
159
160func (f *FlagBase[T, C, V]) PreParse() error {
161 newVal := f.Value

Callers

nothing calls this directly

Calls 2

tracefFunction · 0.85

Tested by

no test coverage detected