MCPcopy Create free account
hub / github.com/CrunchyData/postgres-operator / Set

Method Set

internal/pgbackrest/options.go:44–47  ·  view source on GitHub ↗

Set replaces the values associated with key. The key is case-sensitive.

(key string, values ...string)

Source from the content-addressed store, hash-verified

42
43// Set replaces the values associated with key. The key is case-sensitive.
44func (ms iniMultiSet) Set(key string, values ...string) {
45 ms[key] = make([]string, len(values))
46 copy(ms[key], values)
47}
48
49// Values returns all values associated with the given key.
50// The key is case-sensitive. The returned slice is not a copy.

Callers 5

TestMultiSetFunction · 0.95
serverConfigFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestMultiSetFunction · 0.76