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

Method Value

flag_map_impl.go:110–115  ·  view source on GitHub ↗

Value returns the mapping of values set by this flag

()

Source from the content-addressed store, hash-verified

108
109// Value returns the mapping of values set by this flag
110func (i *MapBase[T, C, VC]) Value() map[string]T {
111 if i.dict == nil {
112 return map[string]T{}
113 }
114 return *i.dict
115}
116
117// Get returns the mapping of values set by this flag
118func (i *MapBase[T, C, VC]) Get() any {

Callers 1

StringMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected