MCPcopy
hub / github.com/syncthing/syncthing / ClusterConfig

Method ClusterConfig

lib/protocol/encryption.go:264–267  ·  view source on GitHub ↗
(config *ClusterConfig, passwords map[string]string)

Source from the content-addressed store, hash-verified

262}
263
264func (e encryptedConnection) ClusterConfig(config *ClusterConfig, passwords map[string]string) {
265 e.folderKeys.setPasswords(e.keyGen, passwords)
266 e.conn.ClusterConfig(config, passwords)
267}
268
269func (e encryptedConnection) Close(err error) {
270 e.conn.Close(err)

Callers

nothing calls this directly

Calls 2

setPasswordsMethod · 0.80
ClusterConfigMethod · 0.65

Tested by

no test coverage detected