MCPcopy Create free account
hub / github.com/DarthSim/overmind / processStop

Method processStop

start/command_center.go:119–133  ·  view source on GitHub ↗
(args []string)

Source from the content-addressed store, hash-verified

117}
118
119func (c *commandCenter) processStop(args []string) {
120 for _, p := range c.cmd.processes {
121 if len(args) == 0 {
122 p.Stop(true)
123 continue
124 }
125
126 for _, pattern := range args {
127 if utils.WildcardMatch(pattern, p.Name) {
128 p.Stop(true)
129 break
130 }
131 }
132 }
133}
134
135func (c *commandCenter) processKill() {
136 for _, p := range c.cmd.processes {

Callers 1

handleConnectionMethod · 0.95

Calls 2

WildcardMatchFunction · 0.92
StopMethod · 0.45

Tested by

no test coverage detected