MCPcopy Index your code
hub / github.com/abiosoft/ishell / prepareRun

Method prepareRun

ishell.go:154–166  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

152}
153
154func (s *Shell) prepareRun() {
155 if s.Active() {
156 return
157 }
158 if !s.customCompleter {
159 s.initCompleters()
160 }
161 s.activeMutex.Lock()
162 s.active = true
163 s.activeMutex.Unlock()
164
165 s.haltChan = make(chan struct{})
166}
167
168func (s *Shell) run() {
169shell:

Callers 2

StartMethod · 0.95
RunMethod · 0.95

Calls 2

ActiveMethod · 0.95
initCompletersMethod · 0.95

Tested by

no test coverage detected