MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / cmdSTTL

Function cmdSTTL

set.go:202–209  ·  view source on GitHub ↗
(m uhaha.Machine, args []string)

Source from the content-addressed store, hash-verified

200 return nil, err
201 }
202 return redcon.SimpleInt(0), nil
203 }
204
205 v, err := ldb.SExpireAt([]byte(args[1]), timestamp)
206 return redcon.SimpleInt(v), err
207}
208
209func cmdSTTL(m uhaha.Machine, args []string) (interface{}, error) {
210 if len(args) != 2 {
211 return nil, uhaha.ErrWrongNumArgs
212 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected