MCPcopy Index your code
hub / github.com/cortexlabs/cortex / Add

Method Add

pkg/lib/table/key_value.go:45–47  ·  view source on GitHub ↗
(key interface{}, value interface{})

Source from the content-addressed store, hash-verified

43}
44
45func (kvs *KeyValuePairs) Add(key interface{}, value interface{}) {
46 kvs.kvs = append(kvs.kvs, kv{k: key, v: value})
47}
48
49func (kvs *KeyValuePairs) AddAll(kvs2 KeyValuePairs) {
50 for _, pair := range kvs2.kvs {

Callers 5

AddAllMethod · 0.95
podResourceRequestsTableFunction · 0.95
getTaskJobFunction · 0.95
getBatchJobFunction · 0.95
findStaleCachedErrorsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected