MCPcopy
hub / github.com/syncthing/syncthing / fakeDiscovery

Struct fakeDiscovery

lib/discover/cache_test.go:78–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78type fakeDiscovery struct {
79 addresses []string
80}
81
82func (f *fakeDiscovery) Lookup(_ context.Context, _ protocol.DeviceID) (addresses []string, err error) {
83 return f.addresses, nil

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected