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

Method copy

gapil/bapi/decode.go:517–525  ·  view source on GitHub ↗
(copyID uint64)

Source from the content-addressed store, hash-verified

515}
516
517func (d *decoder) copy(copyID uint64) (out *semantic.Copy) {
518 d.build(d.content.Instances.Copy, &d.inst.Copy, copyID, &out,
519 func(p *Copy, s *semantic.Copy) {
520 s.AST = d.astCall(p.Ast)
521 s.Src = d.expr(p.Src)
522 s.Dst = d.expr(p.Dst)
523 })
524 return
525}
526
527func (d *decoder) create(createID uint64) (out *semantic.Create) {
528 d.build(d.content.Instances.Create, &d.inst.Create, createID, &out,

Callers 2

statMethod · 0.95
nodeMethod · 0.95

Calls 3

buildMethod · 0.95
astCallMethod · 0.95
exprMethod · 0.95

Tested by

no test coverage detected