MCPcopy Create free account
hub / github.com/ZeppelinMC/Zeppelin / Fallback

Method Fallback

server/command/command.go:26–31  ·  view source on GitHub ↗
(i int, fb string)

Source from the content-addressed store, hash-verified

24}
25
26func (a Arguments) Fallback(i int, fb string) string {
27 if i < 0 || len(a) <= i {
28 return fb
29 }
30 return a[i]
31}
32
33type CommandCallContext struct {
34 Command Command

Callers 1

tick.goFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected