How can I register hooks for getUserFolder()?

Hi,

I want personal (user-specific) file-write hooks. According to the documentation, it is injectable by calling getUserFolder(). But the object has no listen method. getRootFolder has. How is that and how can I inject user specific hooks?

Grettings, Björn

Ok, I did some things and I figured the docs aren’t helpful
" Injectable from the ServerContainer by calling the method getRootFolder() , getUserFolder() or getAppFolder() " doesn’t seem correct.

There is no way to inject filesystem hooks with getUserFolder().

1 Like