MCPcopy
hub / github.com/syncthing/syncthing / Data

Method Data

lib/protocol/protocol.go:109–109  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

107
108type RequestResponse interface {
109 Data() []byte
110 Close() // Must always be called once the byte slice is no longer in use
111 Wait() // Blocks until Close is called
112}

Callers 4

handleRequestMethod · 0.65
RequestMethod · 0.65
TestRequestFunction · 0.65

Implementers 3

fakeRequestResponselib/protocol/common_test.go
rawResponselib/protocol/encryption.go
requestResponselib/model/model.go

Calls

no outgoing calls

Tested by 2

TestRequestFunction · 0.52