MCPcopy Create free account
hub / github.com/cli/cli / find

Method find

internal/run/stub.go:89–97  ·  view source on GitHub ↗
(args []string)

Source from the content-addressed store, hash-verified

87}
88
89func (cs *CommandStubber) find(args []string) *commandStub {
90 line := strings.Join(args, " ")
91 for _, s := range cs.stubs {
92 if !s.matched && s.pattern.MatchString(line) {
93 return s
94 }
95 }
96 return nil
97}
98
99type CommandCallback func([]string)
100

Callers 13

StubFunction · 0.95
graders.test.tsFile · 0.80
replay.test.tsFile · 0.80
mainFunction · 0.80
observeFunction · 0.80
constructorMethod · 0.80
contaminationFunction · 0.80
statusReadFunction · 0.80
startFunction · 0.80
taskChecksFunction · 0.80
taskChecksFunction · 0.80
analyseFunction · 0.80

Calls 1

JoinMethod · 0.80

Tested by

no test coverage detected