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

Function cmdSUNION

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

Source from the content-addressed store, hash-verified

128func cmdSREM(m uhaha.Machine, args []string) (interface{}, error) {
129 if len(args) < 3 {
130 return nil, uhaha.ErrWrongNumArgs
131 }
132
133 n, err := ldb.SRem([]byte(args[1]), stringSliceToBytes(args[2:])...)
134 return redcon.SimpleInt(n), err
135}

Callers

nothing calls this directly

Calls 2

soptGenericFunction · 0.85
stringSliceToBytesFunction · 0.85

Tested by

no test coverage detected