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

Function WithExtras

gapis/api/cmd_extras.go:102–105  ·  view source on GitHub ↗

WithExtras adds the given extras to a command and returns it.

(a Cmd, extras ...CmdExtra)

Source from the content-addressed store, hash-verified

100
101// WithExtras adds the given extras to a command and returns it.
102func WithExtras(a Cmd, extras ...CmdExtra) Cmd {
103 a.Extras().Add(extras...)
104 return a
105}

Callers

nothing calls this directly

Calls 2

AddMethod · 0.65
ExtrasMethod · 0.65

Tested by

no test coverage detected