MCPcopy
hub / github.com/syncthing/syncthing / failLocked

Method failLocked

lib/model/sharedpullerstate.go:247–253  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

245}
246
247func (s *sharedPullerState) failLocked(err error) {
248 if s.err != nil || err == nil {
249 return
250 }
251
252 s.err = err
253}
254
255func (s *sharedPullerState) failed() error {
256 s.mut.RLock()

Callers 2

tempFileMethod · 0.95
failMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected