GetBackgroundUploadChannel returns a channel that can be listened to for remote activities that happen in the background
()
| 1863 | // GetBackgroundUploadChannel returns a channel that can be listened to for remote activities that happen |
| 1864 | // in the background |
| 1865 | func (f *Fs) GetBackgroundUploadChannel() chan BackgroundUploadState { |
| 1866 | if f.opt.TempWritePath != "" { |
| 1867 | return f.backgroundRunner.notifyCh |
| 1868 | } |
| 1869 | return nil |
| 1870 | } |
| 1871 | |
| 1872 | func (f *Fs) isNotifiedRemote(remote string) bool { |
| 1873 | f.notifiedMu.Lock() |
no outgoing calls