MCPcopy Index your code
hub / github.com/magefile/mage / String

Method String

mage/command_string.go:11–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9var _Command_index = [...]uint8{0, 4, 11, 15, 20, 33, 40}
10
11func (i Command) String() string {
12 if i < 0 || i >= Command(len(_Command_index)-1) {
13 return "Command(" + strconv.FormatInt(int64(i), 10) + ")"
14 }
15 return _Command_name[_Command_index[i]:_Command_index[i+1]]
16}

Callers 15

TestMageImportsListFunction · 0.45
TestMageImportsHelpFunction · 0.45
TestMageImportsHelpNamedFunction · 0.45
TestMageImportsRootFunction · 0.45
TestMageImportsNamedNSFunction · 0.45
TestMageImportsNamedRootFunction · 0.45
TestMageImportsAliasToNSFunction · 0.45
TestMageImportsOneLineFunction · 0.45
TestMageImportsTrailingFunction · 0.45

Calls 1

CommandTypeAlias · 0.85

Tested by 15

TestMageImportsListFunction · 0.36
TestMageImportsHelpFunction · 0.36
TestMageImportsHelpNamedFunction · 0.36
TestMageImportsRootFunction · 0.36
TestMageImportsNamedNSFunction · 0.36
TestMageImportsNamedRootFunction · 0.36
TestMageImportsAliasToNSFunction · 0.36
TestMageImportsOneLineFunction · 0.36
TestMageImportsTrailingFunction · 0.36