Limit folder strorage

[details=“Limit folder size”]

Nextcloud version (eg, 20.0.5): replace me
Operating system and version (eg, Ubuntu 20.04): ubuntu 18.04

Is it possible to restrict how big a certain folder can be? Let’s say I am trying to attach an external storage folder, and I want to restrict it to 50GBs. Is that possible?