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

Function cmdSADD

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

Source from the content-addressed store, hash-verified

30 conf.AddWriteCommand("SEXPIREAT", cmdSEXPIREAT)
31 conf.AddReadCommand("STTL", cmdSTTL)
32 conf.AddWriteCommand("SPERSIST", cmdSPERSIST)
33 conf.AddReadCommand("SKEYEXISTS", cmdSKEYEXISTS)
34 conf.AddWriteCommand("SMOVE", cmdSMOVE)
35 conf.AddWriteCommand("SPOP", cmdSPOP)
36 conf.AddReadCommand("SRANDMEMBER", cmdSRANDMEMBER)
37}
38
39func cmdSADD(m uhaha.Machine, args []string) (interface{}, error) {
40 if len(args) < 3 {
41 return nil, uhaha.ErrWrongNumArgs

Callers

nothing calls this directly

Calls 1

stringSliceToBytesFunction · 0.85

Tested by

no test coverage detected