MCPcopy
hub / github.com/ha/doozerd / sync

Function sync

src/pkg/store/store_test.go:73–77  ·  view source on GitHub ↗
(s *Store, n int64)

Source from the content-addressed store, hash-verified

71
72
73func sync(s *Store, n int64) {
74 if ev, _ := s.Wait(Any, n); ev != nil {
75 <-ev
76 }
77}
78
79
80func clearGetter(ev Event) Event {

Callers 15

TestGetFunction · 0.85
TestGetDeletedFunction · 0.85
TestApplyInOrderFunction · 0.85
TestGetSyncOneFunction · 0.85
TestGetSyncSeveralFunction · 0.85
TestGetSyncExtraFunction · 0.85
TestApplyBadThenGoodFunction · 0.85
TestApplyOutOfOrderFunction · 0.85
TestApplyIgnoreDuplicateFunction · 0.85
TestGetWithDirFunction · 0.85
TestStatWithDirFunction · 0.85

Calls 1

WaitMethod · 0.80

Tested by

no test coverage detected