MCPcopy Create free account
hub / github.com/dim-an/cod / waitAttach

Method waitAttach

server/server.go:109–117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

107}
108
109func (s *serverImpl) waitAttach() {
110 time.Sleep(time.Second * 3)
111 s.mutex.Lock()
112 defer s.mutex.Unlock()
113
114 if !s.initialized {
115 log.Fatal("daemon was not attached, exiting")
116 }
117}
118
119func (s *serverImpl) listen() (err error) {
120 socketFile := s.configuration.GetSocketFile()

Callers 1

NewServerFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected