MCPcopy
hub / github.com/syncthing/syncthing / Updated

Method Updated

lib/model/sharedpullerstate.go:431–436  ·  view source on GitHub ↗

Updated returns the time when any of the progress related counters was last updated.

()

Source from the content-addressed store, hash-verified

429
430// Updated returns the time when any of the progress related counters was last updated.
431func (s *sharedPullerState) Updated() time.Time {
432 s.mut.RLock()
433 t := s.updated
434 s.mut.RUnlock()
435 return t
436}
437
438// AvailableUpdated returns the time last time list of available blocks was updated
439func (s *sharedPullerState) AvailableUpdated() time.Time {

Callers 1

ServeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected