notifyChangeUpstreamIfNeeded will check if the wrapped remote doesn't notify on changes or if we use a temp fs
(remote string, entryType fs.EntryType)
| 862 | // notifyChangeUpstreamIfNeeded will check if the wrapped remote doesn't notify on changes |
| 863 | // or if we use a temp fs |
| 864 | func (f *Fs) notifyChangeUpstreamIfNeeded(remote string, entryType fs.EntryType) { |
| 865 | if f.Fs.Features().ChangeNotify == nil || f.opt.TempWritePath != "" { |
| 866 | f.notifyChangeUpstream(remote, entryType) |
| 867 | } |
| 868 | } |
| 869 | |
| 870 | // notifyChangeUpstream will loop through all the upstreams and notify |
| 871 | // of the provided remote (should be only a dir) |