MCPcopy
hub / github.com/syncthing/syncthing / DeviceIDs

Method DeviceIDs

lib/config/folderconfiguration.go:281–287  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

279}
280
281func (f *FolderConfiguration) DeviceIDs() []protocol.DeviceID {
282 deviceIDs := make([]protocol.DeviceID, len(f.Devices))
283 for i, n := range f.Devices {
284 deviceIDs[i] = n.DeviceID
285 }
286 return deviceIDs
287}
288
289func (f *FolderConfiguration) prepare(myID protocol.DeviceID, existingDevices map[protocol.DeviceID]*DeviceConfiguration) {
290 // Ensure that

Calls

no outgoing calls