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

Function NewMapSource

value_source.go:180–185  ·  view source on GitHub ↗
(name string, m map[any]any)

Source from the content-addressed store, hash-verified

178}
179
180func NewMapSource(name string, m map[any]any) MapSource {
181 return &mapSource{
182 name: name,
183 m: m,
184 }
185}
186
187func (ms *mapSource) String() string { return fmt.Sprintf("map source %[1]q", ms.name) }
188func (ms *mapSource) GoString() string {

Callers 2

TestMapValueSourceFunction · 0.85

Calls

no outgoing calls

Tested by 2

TestMapValueSourceFunction · 0.68