| 38 | ) |
| 39 | |
| 40 | type upstream struct { |
| 41 | events chan notify.EventInfo |
| 42 | symlinks map[string]*Symlink |
| 43 | sync *Sync |
| 44 | |
| 45 | reader io.ReadCloser |
| 46 | writer io.WriteCloser |
| 47 | client remote.UpstreamClient |
| 48 | |
| 49 | isBusy bool |
| 50 | isBusyMutex sync.Mutex |
| 51 | |
| 52 | eventBuffer []notify.EventInfo |
| 53 | eventBufferMutex sync.Mutex |
| 54 | |
| 55 | ignoreMatcher ignoreparser.IgnoreParser |
| 56 | |
| 57 | initialSyncCompletedMutex sync.Mutex |
| 58 | initialSyncChanges []string |
| 59 | initialSyncCompleted bool |
| 60 | initialSyncTouchOnce sync.Once |
| 61 | |
| 62 | conn *grpc.ClientConn |
| 63 | } |
| 64 | |
| 65 | const ( |
| 66 | removeFilesBufferSize = 64 |
nothing calls this directly
no outgoing calls
no test coverage detected