MCPcopy
hub / github.com/syncthing/syncthing / Process

Struct Process

lib/rc/rc.go:39–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37const APIKey = "592A47BC-A7DF-4C2F-89E0-A80B3E5094EE"
38
39type Process struct {
40 // Set at initialization
41 addr string
42
43 // Set by eventLoop()
44 eventMut sync.Mutex
45 id protocol.DeviceID
46 folders []string
47 startComplete chan struct{}
48 stopped chan struct{}
49 stopErr error
50 sequence map[string]map[string]int64 // Folder ID => Device ID => Sequence
51 done map[string]bool // Folder ID => 100%
52
53 cmd *exec.Cmd
54 logfd *os.File
55}
56
57// NewProcess returns a new Process talking to Syncthing at the specified address.
58// Example: NewProcess("127.0.0.1:8082")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected