Method
BeginChildGroup
(ctx context.Context, msg proto.Message, id, parentID uint64)
Source from the content-addressed store, hash-verified
| 59 | } |
| 60 | |
| 61 | func (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 | |
| 70 | func (d *decoder) EndGroup(ctx context.Context, id uint64) error { |
| 71 | obj := d.groups[id] |
Callers
nothing calls this directly
Tested by
no test coverage detected