MCPcopy
hub / github.com/github/gh-ost / AddKey

Method AddKey

go/mysql/instance_key_map.go:25–27  ·  view source on GitHub ↗

AddKey adds a single key to this map

(key InstanceKey)

Source from the content-addressed store, hash-verified

23
24// AddKey adds a single key to this map
25func (ikm *InstanceKeyMap) AddKey(key InstanceKey) {
26 (*ikm)[key] = true
27}
28
29// AddKeys adds all given keys to this map
30func (ikm *InstanceKeyMap) AddKeys(keys []InstanceKey) {

Callers 4

AddKeysMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected