MCPcopy
hub / github.com/syncthing/syncthing / closedError

Method closedError

lib/protocol/common_test.go:72–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70}
71
72func (t *TestModel) closedError() error {
73 select {
74 case <-t.closedCh:
75 return t.closedErr
76 case <-time.After(1 * time.Second):
77 return nil // Timeout
78 }
79}
80
81type fakeRequestResponse struct {
82 data []byte

Callers 5

TestCloseFunction · 0.80
TestCloseRaceFunction · 0.80
TestClusterConfigFirstFunction · 0.80
TestRequestMaxSizeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected