MCPcopy Index your code
hub / github.com/nutsdb/nutsdb / Run

Method Run

watcher.go:28–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26}
27
28func (w *Watcher) Run() error {
29 w.muReady.Lock()
30
31 if w.isReady {
32 w.muReady.Unlock()
33 return nil
34 }
35
36 w.isReady = true
37 close(w.readyCh)
38 w.muReady.Unlock()
39
40 return w.watchingFunc()
41}

Calls

no outgoing calls