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

Method Add

gapis/api/cmd_extras.go:34–38  ·  view source on GitHub ↗

Add appends one or more CmdExtras to the list of CmdExtras.

(es ...CmdExtra)

Source from the content-addressed store, hash-verified

32
33// Add appends one or more CmdExtras to the list of CmdExtras.
34func (e *CmdExtras) Add(es ...CmdExtra) {
35 if e != nil {
36 *e = append(*e, es...)
37 }
38}
39
40// Replace replaces the `old` CmdExtra with the `new` CmdExtra.
41// If `old` is not found, this does nothing.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected