MCPcopy Create free account
hub / github.com/cortexlabs/cortex / AddAll

Method AddAll

pkg/lib/table/key_value.go:49–53  ·  view source on GitHub ↗
(kvs2 KeyValuePairs)

Source from the content-addressed store, hash-verified

47}
48
49func (kvs *KeyValuePairs) AddAll(kvs2 KeyValuePairs) {
50 for _, pair := range kvs2.kvs {
51 kvs.Add(pair.k, pair.v)
52 }
53}
54
55func (kvs KeyValuePairs) String(options ...*KeyValuePairOpts) string {
56 opts := mergeOptions(options...)

Callers

nothing calls this directly

Calls 1

AddMethod · 0.95

Tested by

no test coverage detected