MCPcopy Create free account
hub / github.com/ByteStorage/FlyDB / stringStrLen

Function stringStrLen

cmd/client/string.go:79–87  ·  view source on GitHub ↗
(c *grumble.Context)

Source from the content-addressed store, hash-verified

77}
78
79func stringStrLen(c *grumble.Context) error {
80 key := c.Args.String("key")
81 strLen, err := newClient().StrLen(key)
82 if err != nil {
83 return nil
84 }
85 fmt.Println(strLen)
86 return nil
87}
88
89// GetSet sets the value of a key and returns its old value
90func stringGetSet(c *grumble.Context) error {

Callers

nothing calls this directly

Calls 3

newClientFunction · 0.85
StrLenMethod · 0.65
StringMethod · 0.45

Tested by

no test coverage detected