MCPcopy
hub / github.com/syncthing/syncthing / handleIndexUpdate

Method handleIndexUpdate

lib/protocol/protocol.go:605–608  ·  view source on GitHub ↗
(im *IndexUpdate)

Source from the content-addressed store, hash-verified

603}
604
605func (c *rawConnection) handleIndexUpdate(im *IndexUpdate) error {
606 l.Debugf("queueing IndexUpdate(%v, %v, %d files)", c.deviceID, im.Folder, len(im.Files))
607 return c.model.IndexUpdate(im)
608}
609
610// checkIndexConsistency verifies a number of invariants on FileInfos received in
611// index messages.

Callers 1

dispatcherLoopMethod · 0.95

Calls 2

DebugfMethod · 0.80
IndexUpdateMethod · 0.65

Tested by

no test coverage detected