MCPcopy Index your code
hub / github.com/coder/coder / start

Method start

agent/filefinder/engine.go:266–279  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

264}
265
266func (e *Engine) start() {
267 defer e.wg.Done()
268 for {
269 select {
270 case <-e.closeCh:
271 return
272 case re, ok := <-e.eventCh:
273 if !ok {
274 return
275 }
276 e.applyEvents(re)
277 }
278 }
279}
280
281func (e *Engine) forwardEvents(ctx context.Context, root string, w *fsWatcher) {
282 defer e.wg.Done()

Callers 1

NewEngineFunction · 0.95

Calls 2

applyEventsMethod · 0.95
DoneMethod · 0.45

Tested by

no test coverage detected