MCPcopy Create free account
hub / github.com/git-bug/git-bug / NewMemConfig

Function NewMemConfig

repository/config_mem.go:15–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13}
14
15func NewMemConfig() *MemConfig {
16 return &MemConfig{
17 config: make(map[string]string),
18 }
19}
20
21func (mc *MemConfig) StoreString(key, value string) error {
22 key = normalizeKey(key)

Callers 3

TestMergedConfigFunction · 0.85
NewMockRepoConfigFunction · 0.85
TestNewMemConfigFunction · 0.85

Calls

no outgoing calls

Tested by 2

TestMergedConfigFunction · 0.68
TestNewMemConfigFunction · 0.68