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

Function SetInterStore

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

Source from the content-addressed store, hash-verified

188}
189
190func SetInterStore(c *grumble.Context) error {
191 destinationKey := c.Args.String("destinationKey")
192 keys := c.Args.StringList("keys")
193 if destinationKey == "" || len(keys) == 0 {
194 fmt.Println("destinationKey or keys list is empty")
195 return nil
196 }
197
198 err := newClient().SInterStore(destinationKey, keys)
199 if err != nil {
200 fmt.Println("SInterStore data error: ", err)
201 return err
202 }
203 fmt.Println("SInterStore success")
204 return nil
205}

Callers

nothing calls this directly

Calls 3

newClientFunction · 0.85
SInterStoreMethod · 0.65
StringMethod · 0.45

Tested by

no test coverage detected