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

Method StoreTimestamp

repository/config_mem.go:31–33  ·  view source on GitHub ↗
(key string, value time.Time)

Source from the content-addressed store, hash-verified

29}
30
31func (mc *MemConfig) StoreTimestamp(key string, value time.Time) error {
32 return mc.StoreString(key, strconv.Itoa(int(value.Unix())))
33}
34
35func (mc *MemConfig) ReadAll(keyPrefix string) (map[string]string, error) {
36 keyPrefix = normalizeKey(keyPrefix)

Callers 1

TestMergedConfigFunction · 0.95

Calls 1

StoreStringMethod · 0.95

Tested by 1

TestMergedConfigFunction · 0.76