MCPcopy Index your code
hub / github.com/ByteStorage/FlyDB / SetInter

Function SetInter

cmd/client/set.go:141–155  ·  view source on GitHub ↗
(c *grumble.Context)

Source from the content-addressed store, hash-verified

139}
140
141func SetInter(c *grumble.Context) error {
142 keys := c.Args.StringList("keys")
143 if len(keys) == 0 {
144 fmt.Println("keys list is empty")
145 return nil
146 }
147
148 inter, err := newClient().SInter(keys)
149 if err != nil {
150 fmt.Println("SInter data error: ", err)
151 return err
152 }
153 fmt.Println("SInter result:", inter)
154 return nil
155}
156
157func SetDiff(c *grumble.Context) error {
158 keys := c.Args.StringList("keys")

Callers

nothing calls this directly

Calls 2

newClientFunction · 0.85
SInterMethod · 0.65

Tested by

no test coverage detected