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

Function cmdSCLEAR

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

Source from the content-addressed store, hash-verified

136
137func cmdSUNION(m uhaha.Machine, args []string) (interface{}, error) {
138 return soptGeneric(stringSliceToBytes(args), ledis.UnionType)
139}
140
141func cmdSUNIONSTORE(m uhaha.Machine, args []string) (interface{}, error) {
142 return soptStoreGeneric(stringSliceToBytes(args), ledis.UnionType)
143}
144
145func cmdSCLEAR(m uhaha.Machine, args []string) (interface{}, error) {
146 if len(args) != 2 {
147 return nil, uhaha.ErrWrongNumArgs
148 }
149

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected