MCPcopy Index your code
hub / github.com/syncthing/syncthing / Request

Method Request

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

A request was made by the peer device

(conn Connection, req *Request)

Source from the content-addressed store, hash-verified

86 IndexUpdate(conn Connection, idxUp *IndexUpdate) error
87 // A request was made by the peer device
88 Request(conn Connection, req *Request) (RequestResponse, error)
89 // A cluster configuration message was received
90 ClusterConfig(conn Connection, config *ClusterConfig) error
91 // The peer device closed the connection or an error occurred

Callers 15

TestCloseFunction · 0.65
handleRequestMethod · 0.65
RequestMethod · 0.65
RequestMethod · 0.65
RequestMethod · 0.65
RequestMethod · 0.65
RequestMethod · 0.65
RequestMethod · 0.65
RequestGlobalMethod · 0.65
TestRequestFunction · 0.65
TestRequestLimitFunction · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by 7

TestCloseFunction · 0.52
TestRequestFunction · 0.52
TestRequestLimitFunction · 0.52
TestSymlinkTraversalReadFunction · 0.52