This would spam log with warnings from Desktop client doing HEAD on
non-existing path to test them.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
- Fix tests
- Use non deprecated event stuff
- Add a bit of type hinting to the new stuff
- More safe handling of instanceOfStorage (share might not be the first
wrapper)
- Fix resharing
Signed-off-by: Carl Schwan <carl@carlschwan.eu>