MCPcopy
hub / github.com/syncthing/syncthing / handleIndex

Method handleIndex

lib/protocol/protocol.go:600–603  ·  view source on GitHub ↗
(im *Index)

Source from the content-addressed store, hash-verified

598}
599
600func (c *rawConnection) handleIndex(im *Index) error {
601 l.Debugf("Index(%v, %v, %d file)", c.deviceID, im.Folder, len(im.Files))
602 return c.model.Index(im)
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))

Callers 1

dispatcherLoopMethod · 0.95

Calls 2

DebugfMethod · 0.80
IndexMethod · 0.65

Tested by

no test coverage detected