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

Method StoreBool

repository/config_mem.go:27–29  ·  view source on GitHub ↗
(key string, value bool)

Source from the content-addressed store, hash-verified

25}
26
27func (mc *MemConfig) StoreBool(key string, value bool) error {
28 return mc.StoreString(key, strconv.FormatBool(value))
29}
30
31func (mc *MemConfig) StoreTimestamp(key string, value time.Time) error {
32 return mc.StoreString(key, strconv.Itoa(int(value.Unix())))

Callers 1

TestMergedConfigFunction · 0.95

Calls 1

StoreStringMethod · 0.95

Tested by 1

TestMergedConfigFunction · 0.76