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

Function cmdHKEYS

hashes.go:145–156  ·  view source on GitHub ↗
(m uhaha.Machine, args []string)

Source from the content-addressed store, hash-verified

143 }
144 return redcon.SimpleInt(n), nil
145}
146
147func cmdHKEYS(m uhaha.Machine, args []string) (interface{}, error) {
148 if len(args) != 2 {
149 return nil, uhaha.ErrWrongNumArgs
150 }
151
152 v, err := ldb.HKeys([]byte(args[1]))
153 if err != nil {
154 return nil, err
155 }
156
157 return v, nil
158}
159

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected