webdav-handler-rs
webdav-handler-rs copied to clipboard
Return correct quota information for all directories
Currently, correct quota information is returned only for root ('/') folder. However, there are cases when we mount a subdirectory of a webdav server as the cloud disk, and in such case the subdirectory becomes the root folder, and we expect to see the correct quota information on this disk.
Therefore, this PR modifies the get_quota
logic so correct quota information is returned for all directories in addition to root one.