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

Function stringSliceToBytes

set.go:229–235  ·  view source on GitHub ↗
(args []string)

Source from the content-addressed store, hash-verified

227func cmdSKEYEXISTS(m uhaha.Machine, args []string) (interface{}, error) {
228 if len(args) != 2 {
229 return nil, uhaha.ErrWrongNumArgs
230 }
231
232 n, err := ldb.SKeyExists([]byte(args[1]))
233 return redcon.SimpleInt(n), err
234}
235
236func cmdSMOVE(m uhaha.Machine, args []string) (interface{}, error) {
237 if len(args) != 4 {
238 return nil, uhaha.ErrWrongNumArgs

Callers 9

cmdSADDFunction · 0.85
cmdSDIFFFunction · 0.85
cmdSDIFFSTOREFunction · 0.85
cmdSINTERFunction · 0.85
cmdSINTERSTOREFunction · 0.85
cmdSREMFunction · 0.85
cmdSUNIONFunction · 0.85
cmdSUNIONSTOREFunction · 0.85
cmdSMCLEARFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected