MCPcopy
hub / github.com/syncthing/syncthing / Modify

Method Modify

lib/config/wrapper.go:99–99  ·  view source on GitHub ↗
(ModifyFunction)

Source from the content-addressed store, hash-verified

97 Save() error
98
99 Modify(ModifyFunction) (Waiter, error)
100 RemoveFolder(id string) (Waiter, error)
101 RemoveDevice(id protocol.DeviceID) (Waiter, error)
102

Callers 15

initConfigFunction · 0.65
TestSetDeviceLimitsFunction · 0.65
TestAddDeviceFunction · 0.65
TestAddAndRemoveFunction · 0.65
ClusterConfigMethod · 0.65
AddConnectionMethod · 0.65
initFunction · 0.65
newDefaultCfgWrapperFunction · 0.65
replaceFunction · 0.65
pauseFolderFunction · 0.65
setFolderFunction · 0.65
pauseDeviceFunction · 0.65

Implementers 2

wrapperlib/config/wrapper.go
Wrapperlib/config/mocks/mocked_wrapper.go

Calls

no outgoing calls

Tested by 15

initConfigFunction · 0.52
TestSetDeviceLimitsFunction · 0.52
TestAddDeviceFunction · 0.52
TestAddAndRemoveFunction · 0.52
initFunction · 0.52
newDefaultCfgWrapperFunction · 0.52
replaceFunction · 0.52
pauseFolderFunction · 0.52
setFolderFunction · 0.52
pauseDeviceFunction · 0.52
setDeviceFunction · 0.52
addDevice2Function · 0.52