notifyChangeUpstream will loop through all the upstreams and notify of the provided remote (should be only a dir)
(remote string, entryType fs.EntryType)
| 870 | // notifyChangeUpstream will loop through all the upstreams and notify |
| 871 | // of the provided remote (should be only a dir) |
| 872 | func (f *Fs) notifyChangeUpstream(remote string, entryType fs.EntryType) { |
| 873 | f.parentsForgetMu.Lock() |
| 874 | defer f.parentsForgetMu.Unlock() |
| 875 | if len(f.parentsForgetFn) > 0 { |
| 876 | for _, fn := range f.parentsForgetFn { |
| 877 | fn(remote, entryType) |
| 878 | } |
| 879 | } |
| 880 | } |
| 881 | |
| 882 | // ChangeNotify can subscribe multiple callers |
| 883 | // this is coupled with the wrapped fs ChangeNotify (if it supports it) |
no test coverage detected