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

Function existsKey

strings.go:441–447  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

439}
440
441func existsKey(key string) (bool, error) {
442 n, err := ldb.Exists([]byte(key))
443 if err != nil {
444 return false, err
445 }
446 return n > 0, nil
447}
448
449func cmdDECRBY(m uhaha.Machine, args []string) (interface{}, error) {
450 // 1. Validate the number of arguments

Callers 1

cmdEXISTSFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected