Is there a way to force macOS File Provider Extension to re-enumerate items for given parent container?
I am aware that we can signalEnumerator(for: .workingSet) but that would just invoke the enumerateChanges callback in FileProviderEnumerator. What I'm looking for is something like: Internal structure changed so much, that it would be best to re-enumerate the content and rebuild the new model with it. And that should result in invoking the enumerateItems callback in the FileProviderEnumerator.
Are there any options to achieving just that?
Maybe deregistering and registering FileProvider domain could help.
To remove all domains and add domain again:
This should result in re-fetching (enumerating) root container again and all its children as user browses content in Finder.