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

Method AddKeys

go/mysql/instance_key_map.go:30–34  ·  view source on GitHub ↗

AddKeys adds all given keys to this map

(keys []InstanceKey)

Source from the content-addressed store, hash-verified

28
29// AddKeys adds all given keys to this map
30func (ikm *InstanceKeyMap) AddKeys(keys []InstanceKey) {
31 for _, key := range keys {
32 ikm.AddKey(key)
33 }
34}
35
36// HasKey checks if given key is within the map
37func (ikm *InstanceKeyMap) HasKey(key InstanceKey) bool {

Callers 2

ReadJsonMethod · 0.95

Calls 1

AddKeyMethod · 0.95

Tested by

no test coverage detected