MCPcopy
hub / github.com/redis/go-redis / Name

Method Name

command.go:357–363  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

355var _ Cmder = (*Cmd)(nil)
356
357func (cmd *baseCmd) Name() string {
358 if len(cmd.args) == 0 {
359 return ""
360 }
361 // Cmd name must be lower cased.
362 return internal.ToLower(cmd.stringArg(0))
363}
364
365func (cmd *baseCmd) FullName() string {
366 switch name := cmd.Name(); name {

Callers 1

FullNameMethod · 0.95

Calls 2

stringArgMethod · 0.95
ToLowerFunction · 0.92

Tested by

no test coverage detected