MCPcopy Create free account
hub / github.com/google/gapid / ChildObject

Method ChildObject

gapis/capture/decoder.go:91–97  ·  view source on GitHub ↗
(ctx context.Context, msg proto.Message, parentID uint64)

Source from the content-addressed store, hash-verified

89}
90
91func (d *decoder) ChildObject(ctx context.Context, msg proto.Message, parentID uint64) error {
92 obj, err := d.decode(ctx, msg)
93 if err != nil {
94 return err
95 }
96 return d.add(ctx, obj, d.groups[parentID])
97}
98
99func (d *decoder) add(ctx context.Context, child, parent interface{}) error {
100 if parent, ok := parent.(*cmdGroup); ok {

Callers

nothing calls this directly

Calls 2

decodeMethod · 0.95
addMethod · 0.95

Tested by

no test coverage detected