MCPcopy Index your code
hub / github.com/git-bug/git-bug / StoreString

Method StoreString

repository/config_mem.go:21–25  ·  view source on GitHub ↗
(key, value string)

Source from the content-addressed store, hash-verified

19}
20
21func (mc *MemConfig) StoreString(key, value string) error {
22 key = normalizeKey(key)
23 mc.config[key] = value
24 return nil
25}
26
27func (mc *MemConfig) StoreBool(key string, value bool) error {
28 return mc.StoreString(key, strconv.FormatBool(value))

Callers 3

TestMergedConfigFunction · 0.95
StoreBoolMethod · 0.95
StoreTimestampMethod · 0.95

Calls 1

normalizeKeyFunction · 0.85

Tested by 1

TestMergedConfigFunction · 0.76