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

Method BeginChildGroup

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

Source from the content-addressed store, hash-verified

59}
60
61func (d *decoder) BeginChildGroup(ctx context.Context, msg proto.Message, id, parentID uint64) error {
62 obj, err := d.decode(ctx, msg)
63 if err != nil {
64 return err
65 }
66 d.groups[id] = obj
67 return d.add(ctx, obj, d.groups[parentID])
68}
69
70func (d *decoder) EndGroup(ctx context.Context, id uint64) error {
71 obj := d.groups[id]

Callers

nothing calls this directly

Calls 2

decodeMethod · 0.95
addMethod · 0.95

Tested by

no test coverage detected