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

Function SetUnionStore

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

Source from the content-addressed store, hash-verified

171}
172
173func SetUnionStore(c *grumble.Context) error {
174 destinationKey := c.Args.String("destinationKey")
175 keys := c.Args.StringList("keys")
176 if destinationKey == "" || len(keys) == 0 {
177 fmt.Println("destinationKey or keys list is empty")
178 return nil
179 }
180
181 err := newClient().SUnionStore(destinationKey, keys)
182 if err != nil {
183 fmt.Println("SUnionStore data error: ", err)
184 return err
185 }
186 fmt.Println("SUnionStore success")
187 return nil
188}
189
190func SetInterStore(c *grumble.Context) error {
191 destinationKey := c.Args.String("destinationKey")

Callers

nothing calls this directly

Calls 3

newClientFunction · 0.85
SUnionStoreMethod · 0.65
StringMethod · 0.45

Tested by

no test coverage detected