MCPcopy Create free account
hub / github.com/ByteStorage/FlyDB / PERSIST

Method PERSIST

structure/expiring_key.go:90–92  ·  view source on GitHub ↗
(key string, seconds int64)

Source from the content-addressed store, hash-verified

88}
89
90func (ek *ExpireStructure) PERSIST(key string, seconds int64) error {
91 return ek.setExpireToDB(key, -1)
92}
93
94func (ek *ExpireStructure) EXPIREBY(key string, duration int64, tag ...string) error {
95 if len(tag) == 0 {

Callers 1

Calls 1

setExpireToDBMethod · 0.95

Tested by 1