MCPcopy Index your code
hub / github.com/syncthing/syncthing / failed

Method failed

lib/model/sharedpullerstate.go:255–261  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

253}
254
255func (s *sharedPullerState) failed() error {
256 s.mut.RLock()
257 err := s.err
258 s.mut.RUnlock()
259
260 return err
261}
262
263func (s *sharedPullerState) copyDone(block protocol.BlockInfo) {
264 s.mut.Lock()

Callers 7

TestPullCtxCancelFunction · 0.80
TestPullEmptyBlockFunction · 0.80
copierRoutineMethod · 0.80
copyBlockMethod · 0.80
copyBlockFromFolderMethod · 0.80
pullerRoutineMethod · 0.80

Calls

no outgoing calls

Tested by 3

TestPullCtxCancelFunction · 0.64
TestPullEmptyBlockFunction · 0.64