MCPcopy
hub / github.com/syncthing/syncthing / Index

Method Index

lib/protocol/protocol.go:84–84  ·  view source on GitHub ↗

An index was received from the peer device

(conn Connection, idx *Index)

Source from the content-addressed store, hash-verified

82type Model interface {
83 // An index was received from the peer device
84 Index(conn Connection, idx *Index) error
85 // An index update was received from the peer device
86 IndexUpdate(conn Connection, idxUp *IndexUpdate) error
87 // A request was made by the peer device

Callers 15

trimTagMessageFunction · 0.65
TestCloseFunction · 0.65
handleIndexMethod · 0.65
IndexMethod · 0.65
IndexMethod · 0.65
IndexMethod · 0.65
IndexMethod · 0.65
IndexMethod · 0.65
IndexMethod · 0.65
TestRecvOnlyRevertNeedsFunction · 0.65
TestRecvOnlyUndoChangesFunction · 0.65

Implementers 2

modellib/model/model.go
Modellib/model/mocks/model.go

Calls

no outgoing calls

Tested by 15

TestCloseFunction · 0.52
TestRecvOnlyRevertNeedsFunction · 0.52
TestRecvOnlyUndoChangesFunction · 0.52
TestRecvOnlyRevertOwnIDFunction · 0.52
benchmarkIndexFunction · 0.52
benchmarkIndexUpdateFunction · 0.52
BenchmarkRequestOutFunction · 0.52