MCPcopy
hub / github.com/fagongzi/manba / completePart

Method completePart

pkg/proxy/multi.go:24–30  ·  view source on GitHub ↗
(attr string, data []byte)

Source from the content-addressed store, hash-verified

22}
23
24func (c *multiContext) completePart(attr string, data []byte) {
25 c.Lock()
26 if len(data) > 0 && attr != "" {
27 c.data, _ = jsonparser.Set(c.data, data, attr)
28 }
29 c.Unlock()
30}
31
32func (c *multiContext) getAttr(paths ...string) string {
33 c.RLock()

Callers 1

maybeDoneMethod · 0.80

Calls 1

SetMethod · 0.80

Tested by

no test coverage detected