nextcloud/lib/private/Files/Node
Joas Schilling a4ba2113b2
Fix getById for files in appdata and the root mount
In case the path we are currently in is inside the appdata_* folder,
the original getById method does not work, because it can only look inside
the user's mount points. But the user has no mount point for the root storage.

So in that case we directly check the mount of the root if it contains
the id. If it does we check if the path is inside the path we are working
in.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-09-17 11:15:59 +02:00
..
File.php emit file events via Dispatcher, too 2019-09-09 22:56:04 +02:00
Folder.php Fix getById for files in appdata and the root mount 2019-09-17 11:15:59 +02:00
HookConnector.php emit file events via Dispatcher, too 2019-09-09 22:56:04 +02:00
LazyRoot.php add option to get raw size (without submounts) from fileinfo 2019-02-27 15:35:44 +01:00
Node.php emit file events via Dispatcher, too 2019-09-09 22:56:04 +02:00
NonExistingFile.php add option to get raw size (without submounts) from fileinfo 2019-02-27 15:35:44 +01:00
NonExistingFolder.php add option to get raw size (without submounts) from fileinfo 2019-02-27 15:35:44 +01:00
Root.php add option to get raw size (without submounts) from fileinfo 2019-02-27 15:35:44 +01:00