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

Function cmdSCARD

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

Source from the content-addressed store, hash-verified

78 n, err = ldb.SUnionStore(args[1], args[2:]...)
79 case ledis.DiffType:
80 n, err = ldb.SDiffStore(args[1], args[2:]...)
81 case ledis.InterType:
82 n, err = ldb.SInterStore(args[1], args[2:]...)
83 }
84 return redcon.SimpleInt(n), err
85}
86
87func cmdSCARD(m uhaha.Machine, args []string) (interface{}, error) {
88 if len(args) != 2 {
89 return nil, uhaha.ErrWrongNumArgs
90 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected