MCPcopy
hub / github.com/syncthing/syncthing / ResumeDevice

Method ResumeDevice

lib/rc/rc.go:298–301  ·  view source on GitHub ↗
(dev protocol.DeviceID)

Source from the content-addressed store, hash-verified

296}
297
298func (p *Process) ResumeDevice(dev protocol.DeviceID) error {
299 _, err := p.Post("/rest/system/resume?device="+dev.String(), nil)
300 return err
301}
302
303func (p *Process) PauseAll() error {
304 _, err := p.Post("/rest/system/pause", nil)

Callers 1

TestConflictsDefaultFunction · 0.80

Calls 2

PostMethod · 0.95
StringMethod · 0.65

Tested by 1

TestConflictsDefaultFunction · 0.64